-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c9aa2c6
commit 5b9dd44
Showing
1 changed file
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |