This Linux tutorial will explain the three "W" commands. The three "W"s are whatis, whereis and which commands. You already know how to use find command to efficiently fo find a file. Now, these three W commands will help you to locate
man 命令 man 配置文件,注意这里只需要写文件名称就可以了,不能写文件的绝对路径 man既可以查看命令的帮助信息也可以查看配置文件的帮助信息,如果内容太多,可以输入"/内容"查找,按n继续查找下一页 man passwd这个命令,有2个帮助文档,分别是passwd命令的帮助文档和passwd配置文件的帮助文档,在whereis命令里学习到,1代表命令的帮助,5代表文档的帮助, 所以如果要看配置文件的帮助文档,需要输入man 5 passwd whatis 命令 可以查看某命令的简
man /usr/bin/man man [命令或配置文件]获取帮助信息 man ls /-lman date/-d man services //不需要添加绝对路径/etc/services NAME(名称) services - Internet 网络服务列表每行描述了一个服务,其格式如下: 服务名 端口/协议 [别名 ...]more services man passwd whereis passwd结果:passwd: /usr/bin/passwd /etc/passwd /usr/
命令说明 $ type cmd # 获取命令类型 $ which cmd # 命令的位置 $ help cmd / cmd --help / man cmd # 获取命令帮助 $ whatis cmd # 命令描述信息 Linux – filesystem path notation Notation Desc / the root directory . the current working directory .. the parent directory (i.e. one direct