list of commands & utilities [WAS: change file names]

Zhao Peng greenmt at gmail.com
Wed Feb 22 17:47:00 EST 2006


Bruce,

"type the tab key twice" worked well on my system, thank you!

I have 2 different userid on the system. One has "Display all 2430 
possibilities", another one has "Display all 2457 possibilities". Why 
are they different? (Because some commands are not available for some 
userid?)

Zhao


Bruce Dawson wrote:
> Just list all the files in the directories in the PATH variable - that's
> where Unix finds all its commands. You can do this with the following
> command:
>
> for dir in `echo $PATH | sed -e 's/:/ /g' ` ; do ls $dir ; done
>
> Note the two different quotes are used "`" is the back-tick - usually on
> the same key as the "~" charater. And the "'" - is the single quote.
>
> Another method, if you're using the 'bash' shell, is to just type the
> tab key twice. Note that it'll print more than 1 thousand commands on
> the typical Linux system.
>
> - --Bruce
>   




More information about the gnhlug-discuss mailing list