kill,killall
This commit is contained in:
parent
e26343e222
commit
69d9784679
2 changed files with 14 additions and 4 deletions
|
@ -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 \
|
||||||
|
"
|
||||||
|
|
|
@ -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 \
|
||||||
|
"
|
||||||
|
|
Loading…
Reference in a new issue