查找nginx位置(30853为pid) ll proc/30853/exe
如果通过ll proc/pid/exe命令查到的文件位置为/opt/soft/nginx/sbin/nginx 那么,可是使用下面的命令查找配置文件位置 /opt/soft/nginx/sbin/nginx -t