Realy stuck, I'm a total scripting nooby
I need a bash-shell script that terminates all processes of a certain name which is given to the shell script as argument.
Any help would be so greatly appreciated
Thanks again
Shell script
List the running process
Then Kill it
Help
Code: Select all
$ [B]ps[/B]
PID TTY TIME CMD
[color="Red"]1293[/color] pts/5 00:00:00 MyProgram
Code: Select all
$ [B]kill[/B] [color="red"]1293[/color]
[2]+ Terminated MyProgram
Code: Select all
$ help [B]kill[/B]
# OS: Windows, Linux # Browser: Blink, Gecko, Presto, Webkit + Squid + Bind