Automating the "killing" process via a shell script
when I log into the UNIX server at work, it loads up twm by defualt, and the very first thing i do every morning is kill twm and run startkde. I want to automate this....
I started a shell script, but seem to be stuck..
ps -U myname | grep twm | nawk '{ print $1}'
store that pid number in a variable, then kill it....
i would appreciate any help....if i was unclear at all, let me know.
Last edited by fatrandy13; 10-06-2005 at 10:28 AM.
|