Linux中与它的思想在何处的区别是什么

  

Linux中那儿离与它的区别是什么?针对这个问题,这篇文章详细介绍了相对应的分析和解答,希望可以帮助更多想解决这个问题的小伙伴找到更简单易行的方法。

<强> Linux命令搜索命令那儿离与它的区别

<强>一那儿离

1,语法

<强>那儿离命令名

搜索命令所在的路径以及帮助文档所在的位置

选项:

- b:只查找可执行文件
- m:只查找帮助文件

<强> 2,实战

[root@localhost  ~] #, whereis  ls   ls:/usr/bin/ls /usr/share/人/男士一/ls.1.gz/usr/share/男人/man1p/ls.1p.gz   (root@localhost  ~) #显示本用户信息   根   (root@localhost  ~) # 01   whatis 什么?   (root@localhost  ~) #, whatis  ls   ls (1)安康;list  directory 内容   ls  (1 p)安康;list  directory 内容   (root@localhost  ~) #, whereis  -b  ls   ls:/usr/bin/ls   (root@localhost  ~) #, whereis  -m  ls   ls:/usr/share/人/男士一/ls.1.gz/usr/share/人/man1p/ls.1p。广州

<强>二的

1,语法

这命令名

搜索命令所在路径及别名

2,实战

[root@localhost  ~] #, which  ls   alias  ls=& # 39; ls ——颜色=汽车# 39;/usr/bin/ls   (root@localhost  ~) #, which  pwd/usr/bin/pwd   (root@localhost  ~) #, whereis  cd   cd:/usr/bin/cd /usr/share/人/男士一/cd.1.gz/usr/share/男人/man1p/cd.1p.gz   (root@localhost  ~) #, which  cd/usr/bin/cd

<强>三路环境变量

定义的是系统搜索命令的路径

[root@localhost  ~] #, echo  $路径/usr/local/sbin:/usr/地方/bin:/usr/sbin:/usr/bin:/根/bin

关于Linux中那儿离与它的区别是什么问题的解答就分享到这里了,希望以上内容可以对大家有一定的帮助,如果你还有很多疑惑没有解开,可以关注行业资讯频道了解更多相关知识。

Linux中与它的思想在何处的区别是什么