/etc/profile 是系统的环境变量文件
/etc/hosts hosts文件的路径
grep -rn "test" ./* 可以讲当前目录下所有带有test内容的文件搜索出来
ps -awx|grep nginx 查找系统中是否有nginx的服务在运行
/etc/init.d/nginx stop 停止nginx服务
/etc/init.d/mysql restart 重启服务
/etc/init.d/mysql start 启动服务
apt-get autoremove nginx 卸载nginx及关联的软件包
apt-cache search mysql|grep "^mysql" 搜索apt软件包缓存中带有mysql并且以mysql开头的包