Linux下怎么确定Nginx安装目录

linux环境下,怎么确定nginx是以那个config文件启动的?

输入命令行: ps  -ef | grep nginx  

摁回车,将出现如下图片:

master process 后面的就是 nginx的目录。

转自:http://blog.csdn.net/love__coder/article/details/6587873

原文地址:https://www.cnblogs.com/azhqiang/p/5695967.html