侧边栏壁纸
博主头像
落叶人生博主等级

走进秋风,寻找秋天的落叶

  • 累计撰写 130562 篇文章
  • 累计创建 28 个标签
  • 累计收到 9 条评论
标签搜索

目 录CONTENT

文章目录

搜索命令whereis和which

2023-12-11 星期一 / 0 评论 / 0 点赞 / 122 阅读 / 1405 字

搜索命令的命令whereis 语法 whereis [选项] [文件名] -b 只查找可执行文件 -m 只查找 帮助文件 [root@ly-linux ~]# whereis ls ls: /bi

搜索命令的命令whereis

语法        

        whereis [选项]  [文件名]

                -b 只查找可执行文件

                -m 只查找 帮助文件

[root@ly-linux ~]# whereis ls

ls: /bin/ls /usr/share/man/man1/ls.1.gz

文件位置     帮助文件位置

 

搜索命令的命令which

语法

        which 文件名

[root@ly-linux ~]# which ls

alias ls='ls --color=auto'             别名

                /bin/ls                        文件位置

 

 

广告 广告

评论区