Linux入门之阅读man手册页

来源:未知 责任编辑:责任编辑 发表时间:2014-05-20 18:34 点击:

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-

发表评论
请自觉遵守互联网相关的政策法规,严禁发布色情、暴力、反动的言论。
用户名: 验证码:点击我更换图片
最新评论 更多>>

推荐热点

  • /etc/fstab 详解
  • nginx主主集群
  •  LVS-NAT和LVS-DR模式的实现详解
  •  RHCE考试之磁盘配额
  • 学习笔记:ACL详解
  • suse linux双网卡双网关配置
  •  LVM逻辑卷管理器
  •  Nginx主主负载均衡架构
  • ubuntu学习Mysql

快速直达

操作系统导航

LinuxWindows虚拟机
网站首页 - 友情链接 - 网站地图 - TAG标签 - RSS订阅 - 内容搜索
Copyright © 2008-2015 计算机技术学习交流网. 版权所有

豫ICP备11007008号-1