LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   exiting program loops (https://www.linuxquestions.org/questions/linux-newbie-8/exiting-program-loops-125791/)

epoo 12-14-2003 02:24 PM

exiting program loops
 
how do you exit program loops ? the best example i can think of this that i came across was when i running netstat with the switch to continue updating - it keeps running, but i cant figure out how to exit. i tried everything i could think with the break key, and the only way i have been able to exit has been to restart with ctrl-alt-del. :(
sorry if this isnt clear, but i cant think of any other way to explain it.
any suggestions ?

Mara 12-14-2003 02:37 PM

You should be able to use ctrl+c or you can log in in another console and kill it:
ps aux|grep progname
(in the second column there's program PID)
kill PID


All times are GMT -5. The time now is 03:46 PM.