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

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.

主站蜘蛛池模板: 海伦市| 瑞金市| 达孜县| 密山市| 弋阳县| 张家川| 宕昌县| 安岳县| 平泉县| 定州市| 青田县| 饶河县| 盖州市| 布拖县| 准格尔旗| 庆元县| 车险| 华池县| 临泽县| 镇雄县| 津南区| 青田县| 大足县| 绥江县| 南木林县| 临高县| 绥中县| 白河县| 景东| 鸡泽县| 洛川县| 前郭尔| 梁山县| 鹤山市| 彭水| 孝感市| 鹿邑县| 方山县| 贞丰县| 阿巴嘎旗| 龙井市|