Shell 联机帮助

来源:互联网 发布:淘宝助理版官方下载 编辑:程序博客网 时间:2024/04/30 16:22

所有的Unix命令来与一些可选的和强制性的选择。忘记这些命令的完整语法,这是很常见。

因为没有人能记得每一个UNIX命令和选项,一直提供在线帮助,因为在Unix 早期的时候。

Unix的版本的帮助文件,被称为手册页。如果你知道任何命令的名字,但你不知道如何使用它,那么手册页来帮助你。

语法

下面是一个简单的命令来获得系统工作,而任何Unix命令的细节:

$man command

例子:

现在,你能想象的任何命令,你想要得到的帮助。假设你想知道关于pwd ,那么你只需要使用下面的命令:

$man pwd

上面的命令将打开一个帮助你会给你pwd命令的完整信息。亲自试一试在你的命令提示符下,以获得更多的细节

你可以得到完整的细节上man命令本身使用下面的命令:

$man man

手册页部分:

手册页一般分为部分,一般的man page作者偏好变化。下面是一些较常见的部分:

部分描述NAMEName of the commandSYNOPSISGeneral usage parameters of the command.DESCRIPTIONGenerally describes of the command and what it doesOPTIONSDescribes all the arguments or options to the commandSEE ALSOLists other commands that are directly related to the command in the man page or closely resembling its functionality.BUGSExplains any known issues or bugs that exist with the command or its outputEXAMPLESCommon usage examples that give the reader an idea of how the command can be used.AUTHORSThe author of the man page/command.

最后,我要说的是手册页是一个重要的研究资源和第一途径,当你需要在Unix系统信息的命令或文件。

有用的Shell命令:

现在你知道如何着手,链接后会给你一个最重要和最频繁使用的Unix Shell命令列表。

如果你不知道如何使用的任何命令,然后使用手册页获取有关命令的完整细节。

这里是清单 shell - 有用的命令


0 0
原创粉丝点击