[comp.sys.amiga] finding UNIX commands

perley@einstein (Donald P Perley) (12/16/89)

In article <38703@lanl.gov>, tjf@lanl (Tom J Farish) writes:

>want to do a DIRectory?   Use 'ls' of course!
>Want to REName a file?  Use 'mv' of course!

others write:
 
> 	complaints about how do you find a command in the manual
>	if you don't know what the command is.

"man -k <string>" will search for commands that have <string> in the short
description, so you don't have to know the name of the command to find it.

Try something like "man -k directory" which should give you all the commands
having to do with directories. (including 'ls')

"man -k rename" would likewise tell you about 'mv', among other things that
do renaming.

hope this helps.

-don perley


perley@trub.crd.ge.com

ag@amix.commodore.com (Keith Gabryelski) (12/16/89)

In article <10403@vdsvax.crd.ge.com> perley@einstein (Donald P Perley) writes:
>others write:
> 
>> 	complaints about how do you find a command in the manual
>>	if you don't know what the command is.
>
>"man -k <string>" will search for commands that have <string> in the short
>description, so you don't have to know the name of the command to find it.

This is a Berekelyism that does not exist on standard SysV releases,
although it does exists on Amix.  It may exist in SysV4.0.

Pax, Keith

-- 
ag@amix.commodore.com        Keith Gabryelski          ...!cbmvax!amix!ag