dire
2015-08-14 15:42
Whereis ls
Whereis ls -b -m
Whereis ls -bm
这三条命令都是相等的对吗?
[root@localhost ~]# whereis ls
ls: /bin/ls /usr/share/man/man1/ls.1.gz /usr/share/man/man1p/ls.1p.gz
[root@localhost ~]# whereis ls -b -m
ls: /bin/ls /usr/share/man/man1/ls.1.gz /usr/share/man/man1p/ls.1p.gz
[root@localhost ~]# whereis ls -bm
ls: /bin/ls /usr/share/man/man1/ls.1.gz /usr/share/man/man1p/ls.1p.g
第二个和第三个相等, 第一个没有加参数,-b 定位可执行文件。-m 定位帮助文件。
Linux达人养成计划 I
399785 学习 · 3791 问题
相似问题