All the Unix commands come with a number of optional and mandatory options. It is very common to forget the complete syntax of these commands.
Because no one can possibly remember every Unix command and all its options, we have online help available to mitigate this right from when Unix was at its development stage.
Unix's version of Help files are called man pages. If there is a command name and you are not sure how to use it, then Man Pages help you out with every step.
Syntax
Here is the simple command that helps you get the detail of any Unix command while working with the system −
$man command
Example
Suppose there is a command that requires you to get help; assume that you want to know about pwd then you simply need to use the following command −
$man pwd
The above command helps you with the complete information about the pwd command. Try it yourself at your command prompt to get more detail.
You can get complete detail on man command itself using the following command −
$man man
我来翻译
本文介绍了 Unix 中 Man Pages 的使用方法,Man Pages 是一种在线帮助文档,用于展示 Unix 命令的详细信息,包括语法、选项等。通过简单的命令如 $man pwd,可以获取到诸如 pwd 这样的命令的所有相关信息。
33万+

被折叠的 条评论
为什么被折叠?



