Operating System - HP-UX
1833776 Members
2317 Online
110063 Solutions
New Discussion

Re: Where can I get a list of available HP-UX commands?

 
SOLVED
Go to solution
Shaun Aldrich
Frequent Advisor

Where can I get a list of available HP-UX commands?

Hello everyone,

I was told by an HP Engineer yesterday that there is a way to see all available HP-UX 10.20 commands on the system. He couldn't remember how to do it but I just wanted to check to see if anyone else know. I think this would be very helpful as I could then do a man on any command I was interested in on the list and find out more info.

Thanks
S Aldrich
7 REPLIES 7
John Palmer
Honored Contributor
Solution

Re: Where can I get a list of available HP-UX commands?

Hi,

One way is to 'ls /usr/bin' and 'ls /usr/sbin'

Regards,
John
CHRIS_ANORUO
Honored Contributor

Re: Where can I get a list of available HP-UX commands?

To add to John's contribution, do a "man sh-posix" or "man sh" and read more on how to use the commands.
When We Seek To Discover The Best In Others, We Somehow Bring Out The Best In Ourselves.
Ken Scharpell
Valued Contributor

Re: Where can I get a list of available HP-UX commands?


ls /usr/man/man1.Z

or

swlist -l file | grep bin

That will list all commands in bin directories which should be a pretty comprehensive list.
The whole world is a simple perl script
someone_4
Honored Contributor

Re: Where can I get a list of available HP-UX commands?

dont forget to do a more after that command ..
someone_4
Honored Contributor

Re: Where can I get a list of available HP-UX commands?

swlist -l file | grep bin | more
Richard Darling
Trusted Contributor

Re: Where can I get a list of available HP-UX commands?

why not get a copy of the HP-UX Reference Manuals. They are easy to use, and are basically all the available commands.
Tom Danzig
Honored Contributor

Re: Where can I get a list of available HP-UX commands?

If you're using the C shell, type space control d (hit the space bar and then type CTL-D). This will output ALL executables in the current path. Unfortunately, you can't output to a file.