12 lines
163 B
Bash
12 lines
163 B
Bash
# kill all instances of a process by name
|
|
ka() {
|
|
killall \
|
|
"${@}"
|
|
}
|
|
|
|
# force kill all instances of a process by name
|
|
kaf() {
|
|
killall \
|
|
-9 \
|
|
"${@}"
|
|
}
|