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