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