kill
This commit is contained in:
parent
e55392137c
commit
0b4ac490cd
1 changed files with 4 additions and 2 deletions
|
@ -1,11 +1,13 @@
|
||||||
# kill a process by id
|
# kill a process by id
|
||||||
k() {
|
k() { sh_a__kill "${@}"; }
|
||||||
|
sh_a__kill() {
|
||||||
kill \
|
kill \
|
||||||
"${@}"
|
"${@}"
|
||||||
}
|
}
|
||||||
|
|
||||||
# force kill a process by id
|
# force kill a process by id
|
||||||
kf() {
|
kf() { sh_a__kill_force "${@}"; }
|
||||||
|
sh_a__kill_force() {
|
||||||
kill \
|
kill \
|
||||||
-9 \
|
-9 \
|
||||||
"${@}"
|
"${@}"
|
||||||
|
|
Loading…
Reference in a new issue