Click to See Complete Forum and Search --> : stop NOHUP


maxthree
01-13-2003, 12:40 AM
say that I connect to a linbox by terminal window

say I have a script while.sh that loops endlessly ...

while /bin/true;
do
echo "looping" | mail me@domain.com
sleep 30
done


say I launch it with NOHUP

nohup while.sh &

say I logout and login again

HOW DO I STOP THE SCRIPT? if I do PS it is not longer shown as a process.

bwkaz
01-13-2003, 10:05 AM
Do a ps aux to show all processes, owned by all users, on all virtual terminals. Then kill the offending process.