Linux Command Line For Beginners: Finding Help Documents - page 2
Helping Yourself to Help
--help, however, may not be much good if you don't really understand the command in the first place. To get a bit more information, try the man (short for "manual") command:
man duThe man (manual) pages will give you more information about a command. It should cover what it is supposed to do, what options you can use, with details about how to use them, other relevant information, and suggestions of other related commands. Some manpages may also have a useful "examples" section. The start of the du manpage, shown in Figure 2, shows the standard format.
Man pages can be limited, and they're often not great if you're an absolute beginner, especially if the command is a complicated one. But they are often enough to get you started – and in some cases they can quite genuinely provide an entire manual. Check out man bash for a very comprehensive example.
One point to bear in mind is that there can be multiple categories of man page. The ones you are most likely to run across are:
1 Executable programs or shell commands 5 File formats and conventions eg /etc/passwd 8 System administration commands (usually only for root)(Type man man for further information.)
For an example of this, compare the output of man crontab with man 5 crontab. The first one describes the crontab command (this edits crontab files, which tell the program cron which tasks to run at what time). The second one describes the format that a crontab file should have. Both are obviously useful!
If you'd rather read manpages online, just type man command into Google.KDE's Konqueror Web and file browser has a built-in man page reader. Just type "man:[command name]", like "man:bash" in the URL bar. It even gives a list of alphabetical suggestions as you type--ed
Solid state disks (SSDs) made a splash in consumer technology, and now the technology has its eyes on the enterprise storage market. Download this eBook to see what SSDs can do for your infrastructure and review the pros and cons of this potentially game-changing storage technology.
- 1Linux Top 3: RHEL 6.7, BackBox Linux 4.3 and RoboLinux 8.1
- 2Linux Top 3: SLES 11 SP4, Chromixium OS 1.5 and Canonical Licensing
- 3Linux Top 3: VirtualBox 5, Point Linux 3.0 and OpenSUSE Leap 42.x
- 4Linux Top 3: Linux 4.2 rc1, 4MLinux 13 and antiX15
- 5Linux Top 3: Linux Mint Rafaela, OpenMandriva Lx 2014.2 and VectorLinux 7.1