Skip to content

Commit

Permalink
Create README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
marcorighi committed Jun 7, 2022
1 parent c9aa2c6 commit 5b9dd44
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# 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.

0 comments on commit 5b9dd44

Please sign in to comment.