Linux下查看软件安装路径
1、 查询软件安装路径
在Linux操作系统中查看软件安装路径是通过whereis 命令,如查看sshd软件的安装路径时输入命令:
[root@localhost sbin]# whereis sshd
sshd: /usr/sbin/sshd /usr/share/man/man8/sshd.8.gz
2、查询运行文件所在地址(文件夹地址)
查询软件文件夹地址的方法是通过which命令。如查看sshd文件夹的地址:
[root@localhost sbin]# which sshd
/usr/sbin/sshd
Linux下查看软件安装路径
猜你喜欢
转载自usench.iteye.com/blog/2183846
今日推荐
周排行