linux day9 文件查找命令

有时我们再用yum安装一个命令的时候会找不到
就要用 yum provides 命令名 查下命令属于那个包

# 查找命令的命令
[root@localhost opt]# which netstat
$():执⾏行行命令的结果
``:执⾏行行命令的结果

# 查找命令
[root@localhost ~]# type -a ls
ls 是 `ls --color=auto' 的别名
ls 是 /usr/bin/ls



# 查找命令
[root@localhost ~]# whereis ifconfig
ifconfig: /usr/sbin/ifconfig /usr/share/man/man8/ifconfig.8.gz
上一篇:Python_13期_Day9_函数(中)、返回值、作用域、递归


下一篇:Python学习day9面向对象编程2-方法的可变个数的参数和方法的参数传递