View previous topic :: View next topic |
Author |
Message |
reup Guru
Joined: 13 May 2005 Posts: 419 Location: Nederland
|
Posted: Thu Mar 21, 2013 2:08 pm Post subject: what happen to skill |
|
|
hello all,
I dont know where to put this one, so here seems the best place
what happen to skill ? it use to be on my system, but now it is gone.
Code: |
man -k skill
skill [] (1) - send a signal or report process status
|
Code: | which skill
which: no skill in (...............) | I remove the path and put the .....
I am sure it exist : http://linux.about.com/library/cmd/blcmdl1_skill.htm
locate does not find it on my PC, eix neither, qfile same same
now if I want to kill firefox, I need to do :
Code: | ps aux | grep firefox
kill -9 ..... |
previously I did
I think that I am missing something _________________ reup
"Don't wiggle the tail of the frog in the oil of the frying peanuts" |
|
Back to top |
|
|
reup Guru
Joined: 13 May 2005 Posts: 419 Location: Nederland
|
Posted: Thu Mar 21, 2013 2:15 pm Post subject: |
|
|
well I think I can reply to myself.
e-file skill tells me that skill is part of sys-process/procps and it seems that sys-process/procps has been replace by sys-process/psmisc.
sys-process/psmisc does not provide skill but killall
Quote: | killall - kills a process by its name, similar to a pkill found in some other Unices. |
I will
1) create a simlink killall --> skill
or
2) change my habits from skill to killall
I do find strange that something like this happen on my PC without me noticing it _________________ reup
"Don't wiggle the tail of the frog in the oil of the frying peanuts" |
|
Back to top |
|
|
khayyam Watchman
Joined: 07 Jun 2012 Posts: 6227 Location: Room 101
|
Posted: Thu Mar 21, 2013 9:33 pm Post subject: |
|
|
reup ...
You also have 'pgrep' and 'pkill' at your disposal ...
Code: | # pgrep -c wpa
2
# pgrep -l wpa
1870 wpa_supplicant
1877 wpa_cli
# pgrep -x wpa_cli
1877
# [[ "$foo" = "true" ]] && pkill -signal TERM wpa_cli |
Thank goodness for foo=false :) ... best ... khay |
|
Back to top |
|
|
|