Writers' Community!
Home Page Two Columnists Submit an Article FAQs Contact Author Login
Article Submission
We Need YOUR Articles!
We'll Promote Them for FREE!

Author Login

New Authors
Register Here


Now Serving 5,555 Authors
50,492 Quality Articles
& 5,098 Current Users Online!
Featured Authors
David Pekrul (992)
Robert Melaccio, Sr. (6,290)
Nicole Beurkens (189)
Mogama (10,829)
Jane Bullard (3,887)
Terry Mitchell (2,651)
Susan Thom (9,051)
Rodney Biamby (94)
Michael Ramzy (156)
Aaron Taylor (958)
Ronyae (1,242)
Joel Hendon (10,620)
Mike Fak (9,489)
Joel Hirschhorn (994)

View All Featured Authors
Most Recent
How to Set Up an Email through Microsoft Outlook

Microsoft Exchange Server Is It Right for You?

Microsoft Exchange to Email or Not to Email?

Learn more about Microsoft Dynamics CRM

Various Types of CRM Packages

An Overview of CRM Packages

An Introduction to Microsoft Dynamics CRM

Reasons why Microsoft CRM is the solution for my business?

How to improve quality Mp3 and Wav files

Who should attend an Excel VBA Programming class

Home » Categories » Computers & Networking » Software » Linux Commands Tutorials - Using the man Command with Examples of Options - A Hands-On Tutorial Help » Printer Friendly

Clyde Boom

Linux Commands Tutorials - Using the man Command with Examples of Options - A Hands-On Tutorial Help

Rated 4 out of 5
No Reader Ratings Available ?
Rate It  /  View Comments  /  View All Articles submitted by Clyde Boom
Submitted Wednesday, May 16, 2007
Clyde Boom (2,959)
Clyde Boom

Lancom Technologies
Log in to become a member of Clyde Boom's Fan Club!


This Linux command tutorial shows you some examples of how to run the Linux man command using popular, commonly used command options.

The Linux man Command

The Linux man command is used to view Linux "man pages" and these "man" (for "manual") pages describe thousands of Linux commands and concepts.

Linux Tips: The Linux man pages are written in "geek-speak" and are tricky to read and understand.

Once you've been working with Linux for a while (and you're no longer a new Linux user), you will want to be able to use the man command to quickly do things like: look up a Linux command option, learn a new Linux concept, find out about various directories and files in the Linux file system, and learn about the settings in Linux text (configuration) file.

Linux man Command Tutorial - Showing Examples of Using man Command Options

The Linux command examples shown below have been designed to work with all Linux distributions (versions). And if you run all these Linux commands yourself, you'll have a mini Linux command tutorial.

So fire up Linux and give it a try - it's a great way to get Linux training!

Linux man Command Tutorial - Using the Man Command without Any Options

To learn about a single Linux command, like the find command, use the following example and replace "find" with the name of the Linux command you need to learn more about.

     ]$   man  find

This will display the "man" page for the find command.

A Practical Linux man Command Example - Using the Man Command with the -f Option

Let's say it's absolutely necessary to see all of the man pages that are available on the mkdir command, but there is more than one man page (file) for this Linux command.

Linux Tips: The man pages that are available to you are dependant on the Linux distribution (version) you are using and on the number of Linux software programs you have installed on your system. More Linux software programs = more man pages to describe the programs (and concepts).

To see all of the man pages for a Linux command or concept, use the -f option of the man command as shown in the example below.

     ]$   man  -f  mkdir

On some Linux systems, the output (on the screen) of the above command will be:

     mkdir (1) - make directories
     mkdir (2) - create a directory

Linux Tips: Some Linux systems will only have one man page for the mkdir command.

This output shows you that there are two man pages for the mkdir command. Notice that a (1) and (2) appears in the output for the mkdir command.

Linux Tips: If you just ran the command:   man  mkdir   rather than using the -f option, then you would only see one man page and you would be missing all the info on the other man page(s).

Linux man Command Example - Specifying the Man Page Number with the Man Command

If there is more than one man page and you want to see a specific man page, you need to specify the man page number that you want to see. Otherwise, you will just see the first man page.

For example, to see man page 2 for the mkdir command, you run the following Linux command.

     ]$   man  2  mkdir

If you just ran the above command without the number 2 in it, you would see man page 1 and never see man page 2.

Beyond This "Linux Command Tutorials" Article

Man pages can be useful once you get to know how to use Linux a bit. But most people don't usually understand man pages until they've been working with Linux for a while.

As part of your Linux training, you also need to learn how to use the man command to: search for a "string" of text in multiple man pages, search for text in a "section" of man pages and also search for specific text within a man page.

A common and useful Linux training method for a new Linux user is to use a simple Linux book (or Linux ebook) or get some Linux video tutorials. Linux videos are an excellent way to get easy Linux training. Just watch a bit, pause, and then try the Linux task or command yourself!


Watch Free Sample I Learn Linux Video Tutorials now at http://www.iLearnLinux.com and get over the steep Linux learning curve.

Sign up for Free I Learn Linux News to receive technical tips, info on new video samples and important updates on Linux (swa).

Clyde Boom, Author and Expert Trainer with 20+ Years of Training Successes. Explains intricate technical matters in an easy-to-understand, non-technical manner, with tens of thousands of software and hardware learners into masters.






Reprint Rights

Log in to become a member of Clyde Boom's Fan Club!

Comments on this article:


» left by Senthil from Chennai (1 year 117 days ago.)
what is means by mkdir command using linux?
Respond to this comment

Was this article helpful to you? Leave a Public Comment or Question:

 

This Article has been viewed 1,080 times.
Article added to SearchWarp.com on Wednesday, May 16, 2007
View other articles written by Clyde Boom (2,959)
Clyde Boom

Subscribe to 'I Learn Linux News'


If you found this article interesting, you may want to check out:

Disclaimer:  All information on this site is provided for informational purposes only! By no means is any information presented herein intended to substitute for the advice provided to you by any health care or other professional or organization.


Today's Most Popular
Improve PC Performance - 6 Tips You Must Know.

Linux Commands Tutorials - Using the ls Command with Examples of Options - A Hands-On Tutorial Help

Linux Command Tutorials - Opening a Linux Terminal / Console to Run Linux Commands - Tutorial Help

Elimination of Spooler Subsystem App problem. Easy and quick.

Introduction to DQL-Documentum Query Language

What Shows Up On a Criminal Record Background Check?

Microsoft Outlook 2000 Tips – Easy Folder Maintenance

About Winsock in Visual Basic.

How To Export A Microsoft Access Report as a PDF

Recover Deleted Email Messages in Vista Windows Mail

Home  |  Page Two  |  FAQ's  |  Contact  |  Terms of Service  |  Article Submission Guidelines  |  Writers' Contests  |  Privacy  |  Mission / About
Copyright © 1999-2009 SearchWarp.com, All Rights Reserved - SearchWarp.com is an IcoLogic, Inc. Company