Linux入门之阅读man手册页
Linux入门之阅读man手册页
1 什么是man手册
2 从man手册中获取有用的信息
3 man手册页的操作
3.1 退出man
3.2 查找
3.3 打印
1 什么是man手册
首先,man是manual的简称,中文说法可以是手册。
在Linux世界中,许多新手请教某条命令的用法时, 好多不耐心的老手通常会用一条命令来回答这位无助的新手,而这条命令通常
就是man开头。无助的新手敲上这条命令一看究竟,在终端上顿时显示出来了一屏幕的英文,
老手的意思是,自己看看手册吗,可是看手册也是有学问的,无助的新手甚
至不知道怎么退出这条命令呢。下面我们就来讲解一下看man手册的学问。
2 从man手册中获取有用的信息
我们先以mkdir命令来解释读man手册的一些入门知识。
MKDIR(1) User Commands MKDIR(1)
NAME
mkdir - make directories
SYNOPSIS
mkdir [OPTION] DIRECTORY...
DESCRIPTION
Create the DIRECTORY(ies), if they do not already exist.
Mandatory arguments to long options are mandatory for short options too.
-m, --mode=MODE
set file mode (as in chmod), not a=rwx - umask
-p, --parents
no error if existing, make parent directories as needed
-v, --verbose
print a message for each created directory
-Z, --context=CTX
set the SELinux security context of each created directory to CTX
--help display this help and exit
--version
output version information and exit
AUTHOR
Written by David MacKenzie.
REPORTING BUGS
Report bugs to <bug-coreutils@gnu.org>.
COPYRIGHT
Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
SEE ALSO
mkdir(2)
The full documentation for mkdir is maintained as a Texinfo manual. If the info and mkdir programs are properly installed at your site, the com-
相关新闻>>
- 发表评论
-
- 最新评论 更多>>