linux查看帮助文档的命令,Linux如何使用查看一个命令的帮助文档呢?
生活随笔
收集整理的這篇文章主要介紹了
linux查看帮助文档的命令,Linux如何使用查看一个命令的帮助文档呢?
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
摘要:
下文講述Linux操作系統中查看命令的幫助文檔的方法分享,如下所示;
實現思路:
使用 --help命令即可查看命令自帶的幫助文檔信息
例:
查看ls命令的幫助信息
[root@localhost test]# ls --help
Usage: ls [OPTION]... [FILE]...
List information about the FILEs (the current directory by default).
Sort entries alphabetically if none of -cftuvSUX nor --sort.
Mandatory arguments to long options are mandatory for short options too.
-a, --all do not ignore entries starting with .
-A, --almost-all do not list implied . and ..
--author with -l, print the author of each file
-b, --escape print octal escapes for nongraphic characte
總結
以上是生活随笔為你收集整理的linux查看帮助文档的命令,Linux如何使用查看一个命令的帮助文档呢?的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: (STL,set)安迪的第一个字典
- 下一篇: linux系统如何挂载新硬盘,Linux