View Nginx Linux installation directory

Linux environment, how is that determined Nginx config file to start?

Enter the command line: ps -ef | grep nginx

Press Enter, the picture will appear as follows:

 

 The master process is behind nginx directory

 

Guess you like

Origin www.cnblogs.com/WebLinuxStudy/p/12505736.html