I use
ps -ef
which list a detailed process list.
Then I use
kill -9 <ps number>
which forces kill that process. [I'm not familiar
with "killall", but it sounds like it may be better.]
One thing, process numbers change. You might have to
do fancy trick to find the process number using
ps -ef | grep <magic word>
and then use that number as a wildcard entry to
kill[all] -9 $1
I think .bashrc in your $HOME directory get automaticlly run,
but am NOT sure (Someone else correct me if wrong).
Sheng-Chieh
|