LAMP查找发布目录

netstat -tnlp |grep 80             查看80端口运行的软件
ps -ef |grep  1913                 查看进程号下面的软件的目录
rpm -qf /usr/sbin/httpd            查看运行的软件版本
rpm -ql httpd |grep conf           模糊查找配置文件
                                   进入配置文件,查看发布目

 

 

 打印后台进程情况

watch "df -m |grep httpd"
原文地址:https://www.cnblogs.com/aqicheng/p/12450230.html