12 lines
111 B
Bash
12 lines
111 B
Bash
# kill a process by id
|
|
k() {
|
|
kill \
|
|
"${@}"
|
|
}
|
|
|
|
# force kill a process by id
|
|
kf() {
|
|
kill \
|
|
-9 \
|
|
"${@}"
|
|
}
|