This command is used to find all running processes that contain the string "sh" and have the process ID (PID) of 2022.

The "ps -ef" command lists all running processes in a long format, including the process ID (PID) and the command that started the process.

The first "grep" command filters the output of "ps -ef" and searches for the string "2022" in the PID column.

The second "grep" command further filters the output of the first "grep" command and searches for the string "sh" in the command column.

Overall, this command is useful for finding specific processes that contain certain keywords in their command line

ps -ef grep -w 2022 grep sh

原文地址: http://www.cveoy.top/t/topic/g1cd 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录