Home
Username:
Password:
CompTIA Linux+ Certification 2009 Tutorials

The BASH Shell / Command Documentation




Visitors to VTC.com will be able to view all introductory videos for each training course.
Free Trial Members will gain access to first three chapters for each training course.
Full Access Members have full access to VTC.com’s entire library of video tutorials.


Learn More

Subtitles of the Movie

Command Documentation. Documentation is already available on your Linux system, written by the developers of Linux. It's available for the great majority of commands, some in several formats. First, man pages are available for almost every command. It's the manual for the command. To read the manual for a specific command run the man command command. Let's read the manual for man pages, for example. Some commands have multiple man pages. Some may be for the command and a configuration file. By default, there are 8 chapters of man pages available in different categories. For example, to see all man pages with the word password in its name run the apropos passwd command. It's identical to the man -k passwd command and it includes all man pages with the word password in either its title or its description. Note the numbers in parentheses. That tells me the chapter associated with that specific man page. We see three different man pages associated with just the word password. First let's try the man passwd command. We see here that's associated with man pages in chapter 1. You could get to the same man page with man1 passwd and when you do you can search within that man page by starting with the /. Note how I do forward /user and it highlights all instances of the word user. Next, let's look at some of the other man pages. If I run the man5 passwd command I find the manual for the passwd file, etc/passwd. This is the user authentication database. For the third man page let's run the man1 SSL passwd command and this tells me how the password command can be used to create password hashes to help encrypt passwords. Next, there's the info command which is much more of a manual, as an info manual, such as for the nano text editor, is split into a number of sections from introduction on down. Viewer info pages are available. For example, if I run the info passwd command it defaults to the man page because there is no info page created for that command. Let's try the info m4 command which is associated with the m4 macroprocessor. Compare it to the m4 man page which just tells you what happens with the command. Finally, the Linux+ objectives refer to user/share/docs directories, but in many distributions the real directory is usr share doc. It includes a number of subdirectories for various applications in other software. Let's look at say the directory associated with this zip command. Yes, some of these files in that directory are compressed but you don't even need to uncompress them to read that specific file. The less command pager can read through such compressed files. Well, that's the scoop on Command Documentation. Thank you, and on to the next video.

Tutorial Information

Course: CompTIA Linux+ Certification 2009
Author: Michael Jang
SKU: 34070
ISBN: 1-935320-91-2
Release Date: 2009-12-22
Duration: 6.5 hrs / 82 lessons
Captions: Available on CD and Online University
Compatibility: Vista/XP/2000, OS X, Linux
QuickTime 7, Flash 8

VTC Sign up & Benefits

  • Unlimited Access
  • 98,729 Video Tutorials (23,265 free)
  • Video Available as Flash or QuickTime
  • Over 1026 Courses
  • $30 for One Month Access
  • Multi-User Discounts Available