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

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.

主站蜘蛛池模板: 尼勒克县| 凤庆县| 奉新县| 平山县| 弥渡县| 莱西市| 神农架林区| 巴里| 泗洪县| 平原县| 高陵县| 梁平县| 田东县| 长寿区| 新泰市| 竹山县| 开原市| 土默特右旗| 分宜县| 霍林郭勒市| 遵化市| 舞钢市| 蕉岭县| 福州市| 湘潭市| 东乌珠穆沁旗| 民乐县| 明光市| 报价| 融水| 崇礼县| 林芝县| 绥阳县| 蓝田县| 遂溪县| 蒙阴县| 固始县| 炎陵县| 阳城县| 丁青县| 屏南县|