killall
This commit is contained in:
parent
5e21bdec58
commit
95ea69c92f
1 changed files with 4 additions and 2 deletions
|
@ -1,11 +1,13 @@
|
|||
# kill all instances of a process by name
|
||||
ka() {
|
||||
ka() { sh_a__kill_all "${@}"; }
|
||||
sh_a__kill_all() {
|
||||
killall \
|
||||
"${@}"
|
||||
}
|
||||
|
||||
# force kill all instances of a process by name
|
||||
kaf() {
|
||||
kaf() { sh_a__kill_all_force "${@}"; }
|
||||
sh_a__kill_all_force() {
|
||||
killall \
|
||||
-9 \
|
||||
"${@}"
|
||||
|
|
Loading…
Reference in a new issue