Hi ,
how can i get a list of all the commands available in solaris 10 /linux.
man can be used to find help about each command. but i want to have a list of all the commands
thanks Praveen shinde.
--------------------------------- Ahhh...imagining that irresistible "new car" smell? Check outnew cars at Yahoo! Autos.
Sometime on Apr 17, ps cobbled together some glyphs to say:
how can i get a list of all the commands available in solaris 10 /linux.
for non shell builtins, you can do this:
ls /bin /usr/bin /usr/local/bin /sbin /usr/sbin /usr/local/sbin
for shell builtins, it depends on the shell.
Philip
On 4/17/07, praveen shinde praveenshinde73@yahoo.com wrote:
Hi ,
how can i get a list of all the commands available in solaris 10 /linux.
just press the TAB key twice. It will ask you if you want to see all entries. Say yes.
On Wed, 18 Apr 2007 02:04:17 +0530, "Siddhesh Poyarekar" siddhesh.poyarekar@gmail.com wrote:
just press the TAB key twice. It will ask you if you want to see all entries. Say yes.
Yeah.. also note that you can press tab twice even after writing a part of the commands like this :
kamathln@anjaneya:/home$ gnome-[tab][tab] gnome-about gnome-mouse-properties gnome-about-me gnome-moz-remote gnome-accessibility-keyboard-properties gnome-name-service gnome-at-properties gnome-nettool gnome-audio-profiles-properties gnome-network-preferences gnome-autogen.sh gnome-open gnome-background-properties gnome-panel ...
On Tue, 17 Apr 2007 02:01:06 -0700 (PDT), praveen shinde praveenshinde73@yahoo.com wrote:
Hi ,
how can i get a list of all the commands available in solaris 10 /linux.
ls `echo $PATH|tr ':' ' '`
must work on GNU/Linux .. no idea about Solaris.. must work though as it is a Unix.
Most pobably you are using Bourne Again SHell (bash) as your shell. A list of built-in commands can be got by issuing "help" on the command line. More help about the SHELL built-ins can be got by giving "help builtincommand" or the "SHELL BUILTIN COMMANDS" section of its man page.