请教命令!

来源:4-2 Linux中命令搜索命令

dire

2015-08-14 15:42

Whereis ls 

Whereis ls -b -m

Whereis ls -bm

这三条命令都是相等的对吗?

写回答 关注

2回答

  • dire
    2015-08-18 00:11:37

    [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



  • hhh112123123
    2015-08-15 07:56:37

    第二个和第三个相等, 第一个没有加参数,-b   定位可执行文件。-m   定位帮助文件。

    hhh112... 回复dire

    可以查的更详细一点吧

    2015-08-18 08:27:22

    共 2 条回复 >

Linux达人养成计划 I

Linux入门视频教程,以通俗易懂的语言带你感受linux之美

399785 学习 · 3791 问题

查看课程

相似问题