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