[] Linux linux command lsof and grep command is used in conjunction with --- linux port view according to PID, according to the PID for syntax highlighting

 

 

lsof command, according to the port, view the process PID

lsof -i:8168

 

 

 

ps command + grep command --color parameters, according to the PID see the process details, highlighted keywords

ps -ef | grep 8168 --color=always

 

Guess you like

Origin www.cnblogs.com/sxdcgaq8080/p/11941690.html