linux命令 man,linux命令——man

7b6780b2910c039c795e5118799617a9.png

维护历史与联系方式

帮助命令man (manual)

比如我们可以看下man命令的解释

[root@localhost ~]# man man

MAN(1) Manual pager utils MAN(1)

NAME

man - an interface to the on-line reference manuals

SYNOPSIS

man [-C file] [-d] [-D] [--warnings[=warnings]] [-R encoding] [-L locale] [-m system[,...]] [-M path] [-S list] [-e exten‐

df00e2ab4640bc699d89bdf67e085d31.png

sion] [-i|-I] [--regex|--wildcard] [--names-only] [-a] [-u] [--no-subpages] [-P pager] [-r prompt] [-7] [-E encoding]

[--no-hyphenation] [--no-justification] [-p string] [-t] [-T[device]] [-H[browser]] [-X[dpi]] [-Z] [[section]

page ...] ...

man -k [apropos options] regexp ...

man -K [-w|-W] [-S list] [-i|-I] [--regex] [section] term ...

man -f [whatis options] page ...

man -l [-C file] [-d] [-D] [--warnings[=warnings]] [-R encoding] [-L locale] [-P pager] [-r prompt] [-7] [-E encoding] [-p

string] [-t] [-T[device]] [-H[browser]] [-X[dpi]] [-Z] file ...

man -w|-W [-C file] [-d] [-D] page ...

808daa84b394c2c409d563e00bdef78e.png

man -c [-C file] [-d] [-D] page ...

man [-?V]

DESCRIPTION

man is the system's manual pager. Each page argument given to man is normally the name of a program, utility or function.

The manual page associated with each of these arguments is then found and displayed. A section, if provided, will direct

man to look only in that section of the manual. The default action is to search in all of the available sections, follow‐

Manual page man(1) line 1 (press h for help or q to quit)

查看完 按 "q"键linux命令linux命令,离开

我们看下ls

e78add196d18ff0075c1c50a7336c4c0.png

man ls

f9815119f6c868dc37b7e8acf5ca18cb.png

这里其实有很多行 我们可以按键盘的向下键盘,来显示下方隐藏的内容;

当然也可以搜索

/ 加搜索内容

比如搜索 -d

/-d

f9815119f6c868dc37b7e8acf5ca18cb.png

f9815119f6c868dc37b7e8acf5ca18cb.png

1ceb54c87df6aea8a24d2119c9923bf4.png

这里的1是man的级别; 这里的1是查看命令的帮助

1:查看命令的帮助

2:查看可被内核调用的函数的函数的版主

3:查看函数和函数库的帮助

4:查看特殊文件的帮助(主要是/dev目录下的文件)

5:查看配置文件的帮助

6:查看游戏的帮助

7:查看其他杂项的帮助

8:查看系统管理员可用命令的帮助

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值