kill,killall

This commit is contained in:
Marc Beninca 2023-05-14 16:26:24 +02:00
parent e26343e222
commit 69d9784679
2 changed files with 14 additions and 4 deletions

View file

@ -1,5 +1,10 @@
# kill a process by id # kill a process by id
alias k='kill' alias k="\
kill \
"
# force kill a process by id # force kill a process by id
alias kf='kill -9' alias kf="\
kill \
-9 \
"

View file

@ -1,5 +1,10 @@
# kill all instances of a process by name # kill all instances of a process by name
alias ka='killall' alias ka="\
killall \
"
# force kill all instances of a process by name # force kill all instances of a process by name
alias kaf='killall -9' alias kaf="\
killall \
-9 \
"