帮助命令:man
例子:man -l
用法类似于more less 翻页,换行,/+关键字查询

可以查询配置文件,不要加绝对路径
例子:man passwd

whereis 可以查看命令,也可以查看配置文件的位置
[root@localhost ~]# whereis passwd
passwd: /usr/bin/passwd /etc/passwd /usr/share/man/man1/passwd.1.gz

ls --help 可以查看ls命令的选项

whatis:可以列出命令的简短信息
[root@localhost ~]# whatis ls
ls (1) - list directory contents
[root@localhost ~]# whatis find
find (1) - search for files in a directory hierarchy
[root@localhost ~]#


help 命令,查询内置命令(没有目录的命令)

help umask
help cd
help if

相关文章:

  • 2022-01-06
  • 2021-08-09
  • 2021-10-21
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-27
  • 2021-10-02
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-08-19
  • 2021-04-10
  • 2021-11-18
  • 2021-04-29
相关资源
相似解决方案