Learning the Command Line

Michelle Lowman plug-discuss@lists.plug.phoenix.az.us
09 Feb 2003 21:31:45 -0700


Get Linux in a Nutshell (or Unix in a Nutshell as suggested earlier)
from O'Reilly for a fairly comprehensive list of commands, options, and
examples. 

man and info are good if you already know which command you want. If
you're not sure which command you need, try apropos. For example, if you
want a list of commands that have something to do with rpm, type

apropos rpm

If you want to know what rpm does and what options you can use with it,
type

man rpm

or

info rpm

(some commands have info pages, most have man pages, and many have both)

Free tip o' the day:
If you are looking for a specific file, use the locate command. 

locate rpm

(This doesn't just find the executable, tho', so you may get a long list
of stuff to wade through. Use the which command to find executables that
are in your PATH.) The database that locate searches is only updated
every 24 hours by default, so if you have just installed something and
you can't find it, run updatedb as root, then try locate again.



Practice, practice, practice is the best way to get used to the command
line.  




On Sun, 2003-02-09 at 18:50, Michael Havens wrote:
> Does 'man bash' list all of the commands? If not, how do you get a list of all 
> the commands?
> 
> On Sunday 09 February 2003 04:42 pm, Mike Starke wrote:
> > On Sun, Feb 09, 2003 at 04:32:34PM -0700, Victor Odhner wrote:
> > /_Unix In A Nutshell is the "standard" book on *nix commands.
> > /_But it doesn't really contain a lot that you can't find
> > /_on the 'man' pages or in 'info'.
> > /_
> > I agree. Sit down with a cup of coffee and do something like:
> >
> > cd /bin
> > ls a*
> > man <whatever peaked your interest>
> > ls <b-z>
> > wash
> > rinse
> > repeat
> > cd /sbin
> > etc,
> > etc
> > ---------------------------------------------------
> > PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
> > To subscribe, unsubscribe, or to change  you mail settings:
> > http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
> 
> -- 
> :-)~Mike~(-:
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change  you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss