Skip to content

Latest commit

 

History

History
14 lines (8 loc) · 403 Bytes

README.md

File metadata and controls

14 lines (8 loc) · 403 Bytes

killbygrep

killbygrep kill processes that matches with the associate grep

The syntax is

killbygrep.sh grepstring [forcekill]

killbygrep perform a research as follow:

ps aux |grep grepstring

creates a list of process, shoe the process and their PID to the user and askes if they have to be killed.

The script can kill the processes without ask the user by adding a second paramenter, forcekill.