list of hpux commands (12227 Views)
Reply
Super Advisor
Shivkumar
Posts: 1,207
Registered: ‎05-22-2005
Message 1 of 10 (12,227 Views)
Accepted Solution

list of hpux commands

[ Edited ]

Hi,

Does someone has exhaustive list of commands for HPUX 11i v1 and v2 ?

Appreciate your help.

Thanks,
Shiv

 

 

-------------------------------

P.S. This Thread has been moved from Servers --> General to HP-UX --> Technical Documentation - Forum Moderator

Please use plain text.
Acclaimed Contributor
Torsten.
Posts: 23,138
Registered: ‎10-02-2001
Message 2 of 10 (12,227 Views)

Re: list of hpux commands

What a open question!

You will get a different set of commands from every person you ask - at the end you will get hundreds.

Scripts are interesting too.
Have a look at this:

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=51050

There is a link to the commands too.

BTW, should be posted to HP-UX forum.

Ask the moderator:
http://forums1.itrc.hp.com/service/forums/familyhome.do?familyId=295

Hope this helps!
Regards
Torsten.

__________________________________________________

There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________

No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! star in the left column!   
Please use plain text.
Honored Contributor
Honored Contributor
DCE
Posts: 1,593
Registered: ‎05-16-2005
Message 3 of 10 (12,227 Views)

Re: list of hpux commands


Shiv,

Here is a link to the HPUX reference manuals - they contain all of the supported HPUX commands.
http://docs.hp.com/en/hpuxman_pages.html
Please use plain text.
Acclaimed Contributor
Torsten.
Posts: 23,138
Registered: ‎10-02-2001
Message 4 of 10 (12,227 Views)

Re: list of hpux commands

BTW, there are a lot of well-known commands, but some new switches for commands too.
e.g.

pvchange -a
ioscan -e

For a list of all the commands see the link given by DCE.
I want to give you a starting point about a command I "discovered" some time ago: "whence".


Hope this helps!
Regards
Torsten.

__________________________________________________

There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________

No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! star in the left column!   
Please use plain text.
Acclaimed Contributor
James R. Ferguson
Posts: 21,184
Registered: ‎07-06-2000
Message 5 of 10 (12,227 Views)

Re: list of hpux commands

Hi Shiv:

To amplify the value of the manpages installed (I hope!) on your server, create a 'whatis' database and keep it updated.

This enables keyword searches of the manpages. For instance, you could do:

# man -k vxfs

...to see the commands that reference 'vxfs' (JFS) filesystems. The '-k' switch stands for *keyword*.

To create (or update) the 'whatis' database ('/usr/share/lib/whatis') do:

# catman -m

See the manpages for 'catman(1M) and 'man(1)' for more information.

Regards!

...JRF...
Please use plain text.
Acclaimed Contributor
James R. Ferguson
Posts: 21,184
Registered: ‎07-06-2000
Message 6 of 10 (12,227 Views)

Re: list of hpux commands

Hi (again) Shiv:

I should hasten to add one other note. When you use the term "command" in the context of 'manpages' you imply that you are interested in section-1 and section-1M --- user commands and system administration command, respectively, of HP-UX. You should review section-9 of the manpages:

http://www.docs.hp.com/en/B2355-60105/introduction.9.html

Thus, you might do:

# man chmod
# man 1 chmod
# man 2 chmod

You could also discern from the results of searching your 'whatis' database where you might want to look further. For instance, if a 'command' is shown to exist only in section-2, then it's a system call that can be used in a C program but not in a shell script (unless noted). *However* that doesn't mean that a great deal of good information isn't available if you read the section-2 discussion!

To keep the 'whatis' database updated, I simply run 'catman -m' following every patch installation I perform.

Regards!

...JRF...
Please use plain text.
Respected Contributor
inventsekar_1
Posts: 508
Registered: ‎01-30-2006
Message 7 of 10 (12,227 Views)

Re: list of hpux commands

Hi SHiv,

nice question shiva.
when i start learning UNIX last year, my first and favourite question is "Totally how many commands are there in UNIX box?
i started reading man pages in pdf format from http://docs.hp.com/en/hpuxman_pages.html

soon i got high tension because of so much commands.
but when i started to read step by step, i find its interesting...

for example:
give command "set" and PATH value will tell the places where u can find ALL the commands.

good idea to learn unix cmd's is thru man cmd and go to SEE ALSO part.
for example:
man cat-->
SEE ALSO
cp(1), more(1), pg(1), pr(1), rmnl(1), ssp(1).
go to man cp and

continue learning...
Be Tomorrow, Today.
Please use plain text.
Respected Contributor
inventsekar_1
Posts: 508
Registered: ‎01-30-2006
Message 8 of 10 (12,227 Views)

Re: list of hpux commands

hi shiva,
i am still thinking, thinking that how to find out the list of commands available and got good ideas.

steps:
1. the PATH variable contains where to search for the user commands.
2. get the value of PATH in a variable and listing (ls or ll or ls -R) in those directories will give us the list of commands available.
3. but this will depends upon the application installed on the system. to aviod this, most of the UNIX commands resides in /usr/bin and /usr/sbin
4. ll -R /usr/sbin > list_of_cmds
5. ll -R /usr/sbin >>list_of_cmds

i think this solves ur question.
attached a file that contains the list of commands.
Be Tomorrow, Today.
Please use plain text.
Respected Contributor
inventsekar_1
Posts: 508
Registered: ‎01-30-2006
Message 9 of 10 (12,227 Views)

Re: list of hpux commands

HI SHIV,

brain is working good.

the simplest way it found out.
1. the man pages in pdf format contains the list of cmd's. but its too big.
2. the contents list contains the list of commands, but we have 10 pdf's of man pages.
3. but the last pdf "HP-UX Reference (11i v2 04/09) - 7 Device (Special) Files, 9 General Information, Index (vol 10)" contains an index of 200 pages. ie the list of commands with a description also.

thats what we are searching for.


The list of man pages:
http://docs.hp.com/en/hpuxman_pages.html

The HP-UX Reference, General Information, Index (vol 10): [page no: 271- 478]
http://docs.hp.com/en/B2355-90848docs/B2355-90848docs.pdf
Be Tomorrow, Today.
Please use plain text.
Respected Contributor
inventsekar_1
Posts: 508
Registered: ‎01-30-2006
Message 10 of 10 (12,227 Views)

Re: list of hpux commands

HI SHiv,

This webpage u r going to love it.
http://docs.hp.com/en/B3921-90010/index.html
Be Tomorrow, Today.
Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation