常用命令

netstat -anp | grep LISTEN
netstat -anp | more
netstat -ap | grep 8080  

ps -aux | grep tomcat  

tac history | more
history > /home/lixiaoyu/his.log
tac /home/lixiaoyu/his.log |more


nslookup baidu.com
apt update            #更新源
apt upgrade           #
apt dist-upgrade      #
apt list --upgradable #查看待更新的软件有哪些
ps -ef|head

ps -ef|head -30

上一篇:top 下一篇:Linux常用高级命令大全