linux命令的选项的含义,help命令--Linux命令应用大词典729个命令解读

内容来源于人民邮电出版社《Linux命令应用大词典》

讲述729个命令,1935个例子

学习Linux系统的参考书、案头书,遇到不懂的命令或命令选项一查即可

争取每天都发布内容

本文出自 “airfish2000” 博客,更多命令查看博客:

help命令

使用help命令可以查看内部Shell命令的帮助信息。

命令语法:

help [选项] [命令]

选项含义:

命令中各选项的含义如表所示。

表                                  help命令选项含义选项含义

-d显示命令简短的主题描述

-s显示命令简短的语法描述

例:查看pwd命令详细的帮助信息。

[root@rhel ~]# help pwd

pwd: pwd [-LP]

Print the nameof the current working directory.

Options:

-L        print the value of $PWD if it names thecurrent working

directory

-P        print the physical directory, withoutany symbolic links

By default,`pwd' behaves as if `-L' were specified.

Exit Status:

Returns 0unless an invalid option is given or the current directory

cannot be read.

例:查看pwd命令简短的语法描述。

[root@rhel~]# help -s pwd

pwd:pwd [-LP]

例:查看pwd命令简短的主题描述。

[root@rhel~]# help -d pwd

pwd- Print the name of the current working directory.

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值