.git broken, restart
This commit is contained in:
Executable
+11
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
kill_all ()
|
||||
{
|
||||
if [ -z "$1" ]; then
|
||||
echo "Usage: $0 <keyword>";
|
||||
exit 1;
|
||||
fi;
|
||||
KEYWORD="$1";
|
||||
ps aux | grep --color=auto "$KEYWORD" | grep --color=auto -v "grep" | awk '{print $2}' | xargs -r kill -9
|
||||
}
|
||||
kill_all "$@"
|
||||
Reference in New Issue
Block a user