14 lines
187 B
Bash
14 lines
187 B
Bash
# kill a process by id
|
|
k() { sa__kill "${@}"; }
|
|
sa__kill() {
|
|
kill \
|
|
"${@}"
|
|
}
|
|
|
|
# force kill a process by id
|
|
kf() { sa__kill_force "${@}"; }
|
|
sa__kill_force() {
|
|
kill \
|
|
-9 \
|
|
"${@}"
|
|
}
|