Wednesday, 9 September 2009

BASH Script: Run a command in a loop....

to stop a process that is being controlled by another process that has accidentally been left running on your pc at work.

while true; do kill -SIGSTOP < processId > sleep 5; done

No comments:

Sike's shared items