Operating System - HP-UX
1748151 Members
3767 Online
108758 Solutions
New Discussion юеВ

Re: list of hpux commands

 
SOLVED
Go to solution
Shivkumar
Super Advisor

list of hpux commands

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

11 REPLIES 11
Torsten.
Acclaimed Contributor
Solution

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:

[broken link removed 18/04/17 by mod]

There is a link to the commands too.

BTW, should be posted to HP-UX forum.

Ask the moderator:
[broken link removed 18/04/17 by mod]


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! thumb below!   
DCE
Honored Contributor

Re: list of hpux commands


Shiv,

Here is a link to the HPUX reference manuals - they contain all of the supported HPUX commands.


https://support.hpe.com/hpesc/public/docDisplay?docLocale=en_US&docId=c02675935

[Moderator note: Updated the broken link]

Torsten.
Acclaimed Contributor

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! thumb below!   
James R. Ferguson
Acclaimed Contributor

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...
James R. Ferguson
Acclaimed Contributor

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. 


https://support.hpe.com/connect/s/search?language=en_US#q=HP-UX%20manpages&t=All&sort=relevancy&numberOfResults=25

[Moderator edit: Updated the broken link]
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...

inventsekar_1
Respected Contributor

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...

[Moderator edit: The above link is no longer valid. Please refer to https://support.hpe.com]

Be Tomorrow, Today.
inventsekar_1
Respected Contributor

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.
inventsekar_1
Respected Contributor

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

[Moderator note: Removed the broken links.]

Be Tomorrow, Today.
inventsekar_1
Respected Contributor

Re: list of hpux commands

HI SHiv,

This webpage u r going to love it.
http://docs.hp.com/en/B3921-90010/index.html

[Moderator edit: Above link is no longer valid. Please refer to https://support.hpe.com]

Be Tomorrow, Today.