diff --git a/.bash_functions b/.bash_functions index 97014e9..c4de145 100644 --- a/.bash_functions +++ b/.bash_functions @@ -38,7 +38,7 @@ function psk { if [ -z "$1" ]; then echo "Prozessname fehlt..." else - ps -ef | grep $1 | grep -v grep | awk '{ print $2 }' | xargs kill -9 + ps -ef | grep "$1" | grep -v grep | awk '{ print $2 }' | xargs kill -9 fi fi } @@ -86,5 +86,3 @@ function ssh { fi command ssh "$@" } - -