[CentOS] Recommendation/pointers please - Need to brush up onCentOS/Linux command line tools

Ross S. W. Walker rwalker at medallion.com
Mon Jun 11 23:37:37 UTC 2007

> -----Original Message-----
> From: centos-bounces at centos.org 
> [mailto:centos-bounces at centos.org] On Behalf Of Eric Solomon
> Sent: Monday, June 11, 2007 6:24 PM
> To: CentOS mailing list
> Subject: Re: [CentOS] Recommendation/pointers please - Need 
> to brush up onCentOS/Linux command line tools
> Two books I turn to mostly:
> UNIX System Administration handbook 3rd edition by Evi Nemeth 
> et al. - a 
> good general coverage, which breaks down the differences between how 
> Redhat, Solaris, HP-UX, and FreeBSD handle things.
> O'reilly Unix in a Nutshell (3rd edition) - a little Solaris-centric, 
> but good for reviewing commands in paper form, and a handy little 
> resource for when I forget sed and awk syntax.

Actually the person who suggested man man was probably the best

Now some man pages are weak, they use to be stronger on BSD I remember.

Check out 'apropos' and 'makewhatis' (which generates the indexes for
apropos out of the man pages).

But some basic commands to have in your arsenal:

ls,cd,pwd,pushd,popd -> for getting around the file system

sh/bash -> a must to have in your arsenal, no need to learn all the
nitty gritty of scripting it, but job history, and command-line
completion will make your life easier, especially you should learn
to pipe '|' output of one command into the input of another,
learning '<' and '>' to redirect input and output to/from text
files will be useful too.

cat,tail,head -> for listing/concatenating, looking at the end of,
and looking at the beginning of a text file

more,less -> for paging through streams of text

grep,sed,awk -> for getting what you are looking for out of a stream
of text.

ps -> for seeing what is running and by who

vi -> for editing files, it's not a WYSIWYG editor, but it's easier
than 'ed', which is really just an interactive version of 'sed', there
is a lot under the hood of 'vi' which makes it my config file editor
of choice

If you can master those commands you will be in good shape.


This e-mail, and any attachments thereto, is intended only for use by
the addressee(s) named herein and may contain legally privileged
and/or confidential information. If you are not the intended recipient
of this e-mail, you are hereby notified that any dissemination,
distribution or copying of this e-mail, and any attachments thereto,
is strictly prohibited. If you have received this e-mail in error,
please immediately notify the sender and permanently delete the
original and any copy or printout thereof.

More information about the CentOS mailing list