官术网_书友最值得收藏!

The man page

The whatis command gives you a brief description of what a command does; however, it doesn't teach you how to use a command. For that, you can use the man pages.

The man page is a manual page that has proper documentation to help you understand how to use a command. The same as when you buy a new phone, you get a manual that shows you how to use your phone and how to update your software on your phone, etc.

In general, if you want to read the man page of a command, you can run:

man command_name

For example, if you want to view the man page of the touch command, you can run the man touch command:

elliot@ubuntu-linux:~$ man touch

Figure 1: touch man page

As you can see in the preceding screenshot, the touch man page shows you how to use the command, and it also lists and explains all the command options.

Table 9 shows you how to move around while browsing man pages.

I can't stress enough the importance of man pages. They can be your best friend in the darkest moments, trust me!

You should also know that there is a man page for man itself:

elliot@ubuntu-linux:~$ man man

It describes how to use man pages.

主站蜘蛛池模板: 荔浦县| 会同县| 亳州市| 绥滨县| 沿河| 霍邱县| 同仁县| 衢州市| 瑞金市| 翁源县| 额尔古纳市| 阿瓦提县| 福建省| 额敏县| 左权县| 东港市| 黎城县| 郧西县| 廉江市| 武陟县| 东港市| 灵武市| 峨眉山市| 大埔县| 襄樊市| 多伦县| 斗六市| 扶风县| 彝良县| 峡江县| 黑龙江省| 黑河市| 南平市| 霸州市| 红安县| 吉木乃县| 武隆县| 阿尔山市| 赫章县| 响水县| 合江县|