150命令之线上查询及帮助命令
Posted jks巴顿
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了150命令之线上查询及帮助命令相关的知识,希望对你有一定的参考价值。
150命令之线上查询及帮助命令
man
查询命令的帮助 man + 命令
-
NAME
-
ls - list directory contents 命令+命令简单说明
-
-
SYNOPSIS
-
ls [OPTION]... [FILE]... 命令如何使用 名的格式
-
-
DESCRIPTION 命令的详细说明
-
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 characters
中文查询man 命令 http://man.linuxde.net/
--help
help跟man相同 比man简洁
-
[root@mysql ~]# 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 characters
-
--block-size=SIZE use SIZE-byte blocks. See SIZE format below
-
-B, --ignore-backups do not list implied entries ending with ~
-
-c with -lt: sort by, and show, ctime (time of last
-
modification of file status information)
-
with -l: show ctime and sort by name
-
otherwise: sort by ctime
bash 中用的命令 man 查不到 但是—help能查到
-
[root@mysql ~]# alias --help
-
bash: alias: --: invalid option
-
alias: usage: alias [-p] [name[=value] ... ]
以上是关于150命令之线上查询及帮助命令的主要内容,如果未能解决你的问题,请参考以下文章