资讯

精准传达 • 有效沟通

从品牌网站建设到网络营销策划,从策略到执行的一站式服务

man命令详解

Name
man - format and display the on-line manual pages:格式化显示在线手册页
sysnosis
man [-acdDfFhkKtvVwW] [--path] [-m system] [-p string] [-C config_file] [-M pathlist] [-P pager] [-B browser] [-H htmlpager] [-S section_list] [section] name ...
DESCRIPTION:
man formats and displays the on-line manual pages :格式化显示在线手册页
if you specify section, man only looks in that section of the manual:指定章节,man只查看那章
name is of a command,function, or file. 名字是一个命令、功能、或者文件
However ,if name contains a slash (/) then man interprets it as a file specification,so that you can do man ./foo.5 or even man /cd/foo/bar.1.gz :如果name中包含斜杠,man将他解释为文件说明,所以,你可以使用man ./foo.5 或者 man /cd/foo/bar.1.gz

让客户满意是我们工作的目标,不断超越客户的期望值来自于我们对这个行业的热爱。我们立志把好的技术通过有效、简单的方式提供给客户,将通过不懈努力成为客户在信息化领域值得信任、有价值的长期合作伙伴,公司提供的服务项目有:主机域名虚拟主机、营销软件、网站建设、皮山网站维护、网站推广。

see below for description of where man looks for the manual page files
MANUAL SECTIONS:
the standard sections of the manual include:标准的手册章节包含:
1 user Commands:用户命令
2 System calls:系统调用
3 C library Functions C库函数
4 Device and Special Flies :设备和指定文件
5 File Formats and Conventions (配置)文件格式和约定
6 Games et. Al.:游戏
7 Miscellanea:杂项
8 System Administration tools and daemons 管理类工具(命令)和后台进程
Distributions customize the manual section to their specifics, which often include additional sections:版本自定义手册章节到他们不同的细节,他通常包含附加章节
man命令的配置文件:/etc/man.config
帮助手册中的段落说明:
NAME
SYSNOPSIS
DESCRIPTION
OPTIONS
EXAMPLES
AUTHOR
REPORTING BUGS
SYNOPSIS中的符号表示的意义:
[]:可选内容
<>:必选内容
a|b:二选一
...:同一内容可出现多次
man命令的操作方法:
Space ^f ^F ^V:向文件尾翻屏
b ^B:向文件首部翻屏
d, ^D:向文件尾部翻半屏
u,^U:向文件首部翻半屏
RETRUN or ^N or e or ^E or j or ^J:向文件尾部翻一行
y ^y ^P k ^K:向文件首部翻一行
q:退出
跳转至的#行:#
1G:回到文件首部
G:跳至文件尾部
文件搜索:
/KEYWORD:
以KEYWORD指定的字符串为关键字,从当前位置向文件尾部搜索,默认不区分字符大小写
n:下一个
N:上一个
?KEYWORD:
以KEYWORD指定的字符串为关键字,从当前位置向文件首部搜索,不区分大小写
n:跟搜索命令同方向,下一个
N:跟搜索命令反方向,上一个


分享名称:man命令详解
网页路径:http://cdkjz.cn/article/pgpdjs.html
多年建站经验

多一份参考,总有益处

联系快上网,免费获得专属《策划方案》及报价

咨询相关问题或预约面谈,可以通过以下方式与我们联系

大客户专线   成都:13518219792   座机:028-86922220