Похожие чаты

Hi, how can I filter the output of the "ps"

command to just list a specific program?

4 ответов

8 просмотров

Grep, sed, awk, bash, ... The pin links good resources, give them a read.

Пользователь-61654 Автор вопроса
Martin Rys
Grep, sed, awk, bash, ... The pin links good resou...

umm, ok I thought maybe that had a special built-in switch for doing this

ps fe | grep program

You can also do pgrep pgm_name if you want only it's pid

Похожие вопросы

Обсуждают сегодня

Карта сайта