Can anyone help me w/ this. I need to write a perl script for myself that annoys me everytime I log in. I need to kill "xxxx" process everytime I log in. I'm doing it by greping the process and issuing a kill command, I know there is a way you could do it thru perl.
I want Perl to check if the process is running and if it is than kill it and if the process is not running than just print out a statement saying process "xxxx" is not running.
Any help would be appreciated.
I want Perl to check if the process is running and if it is than kill it and if the process is not running than just print out a statement saying process "xxxx" is not running.
Any help would be appreciated.