Home | Hardware | Internet News |Web Hosting |IT Management |Network Storage
LinuxPlanet
Search 
  Power Search | Tips 

 Front Door
 Discussion
 LinuxEngine
 Opinions
 Reports
 Reviews
 Tutorials
 News
 Technology Jobs

 Browse by subject.
Free Newsletter

Linux Planet
Linux Today
More Free Newsletters

Be a Commerce Partner


















internet.com
IT
Developer
Internet News
Small Business
Personal Technology
International

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers

Print this article
Email this article
Related Items

•  A kernel site with lots of pointers to kernel related info

•  a clearing site for FAQs, look at the comp.* ones

•  Use the search facilities to find links to programs home pages


   LinuxPlanet / Tutorials



Getting Access to Documentation Under Linux
The man Command

James Andrews
Saturday, May 29, 1999 01:36:47 PM

The most powerful and useful command available is 'man' (manual). In its simplest form, one simply types 'man' and then the name of the man page. For instance

man wc

brings up the man page of the wc (word count) program. man also has some very basic searching facilities. For instance the command

man -k printer

brings up

a2ps (1) - format files for printing on a PostScript printer
banner (6) - print large banner on printer
lp (4) - line printer devices
lpc (8) - line printer control program
lpd (8) - line printer spooler daemon
lprm (1) - remove jobs from the line printer spooling queue
pac (8) - printer/plotter accounting information
print (3ncurses) - ship binary data to printer
printcap (5) - printer capability data base

on my system.

The content of the man pages is arranged in a highly technical fashion. To be blunt, man pages can seem impenetrable to the neophyte. One important facet of man pages is the way in which they are laid out. There are sections: NAME, DESCRIPTION, OPTIONS, FILES and BUGS are some standard ones. These can be helpful: if you just want to locate the program's configuration files, type:

/FILE

in the man commands page to search forward for the FILES section and the answer should be there. When man pages refer to other man pages (which they often do) they say something like

see kill(2)

This means that the page for 'kill' it is referring to is in section 2 of the manual. There is more than one kill man page, do a

man -k kill

and see what I mean. To get the kill man page from section 2, do

man 2 kill

Next: Other Sources »

Skip Ahead

1 Introduction
2 The man Command
3 Other Sources
4 Summary





Linux is a trademark of Linus Torvalds.


internet.com home | search | help! | about us

Jupiter Online Media

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info


Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

Web Hosting | Newsletters | Tech Jobs | Shopping | E-mail Offers