上善若水(20603026)22:01:42
whereisNginx
可以看到Nginx在哪里
金视界(2232855560)22:02:14
然后怎么办啊
[root@MyServer ~]# hostname -f hostname: Unknown host [root@MyServer ~]# whereis Nginx Nginx: /usr/bin/Nginx [root@MyServer ~]# where is PHP -bash: where: command not found [root@MyServer ~]# whereis PHP PHP: /usr/bin/PHP [root@MyServer ~]# [root@MyServer ~]# whereis httpd httpd: [root@MyServer ~]# rm /usr/bin/Nginx rm: remove symbolic link `/usr/bin/Nginx'? y [root@MyServer ~]# whereis Nginx Nginx: [root@MyServer ~]# rm -rf /usr/bin/PHP [root@MyServer ~]# rm /usr/bin/Nginx rm: cannot remove `/usr/bin/Nginx': No such file or directory [root@MyServer ~]# whereis httpd httpd: [root@MyServer ~]# whereis httpd httpd: [root@MyServer ~]#