Showing posts with label loop. Show all posts
Showing posts with label loop. Show all posts

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

Sike's shared items