пятница, 30 августа 2013 г.

Kill all linux processes by pattern

pkill -f programname
for example pkill -f rails kill all processes whose names contains "rails": rails server, rails console, etc.

about -f:
The pattern is normally only matched against the process name. When -f is set, the full command line is used.

To read:

Комментариев нет:

Отправить комментарий