du -sh *                           #查看当前目录下所有文件的大小
netstat -tanlp                     #查看所有进程
top                                #查看运行cup占比
whereis nginx                      #查找配置运行文件位置
netstat -tunlp | grep 80           #查看指定被占用的端口
netstat -anp                       #查看开放的端口
ps aux |grep nginx                 #服务运行情况
sudo apt-cache search php          #搜索包

最后修改日期: 2021-01-27

作者