linux 命令集合

136 阅读1分钟
  1. 查看进程PID号
ps -ef | grep [进程名称]  
  1. 查看进程所占端口号
netstat -ntlp | grep [PID]
  1. 清空终端屏幕
clear 

或者是:

Ctrl+L