XST1 Posted January 27, 2004 Share Posted January 27, 2004 im absolutely new to linux, and right now im running the gentoo distrb..... my question is, is there a way to break, or exit out of a console/shell app while your in it... for example, ive found my self stuck, like i typed in the command cat, and got the cursor while still in the app. I couldnt find a way out and i pressed as many buttons as I can.. this happens to me for example with the ping command too because it endlessly pings the address, and again I can't find a way out of the application. Is there something im missing here? Thanks. Link to comment Share on other sites More sharing options...
hornett Posted January 27, 2004 Share Posted January 27, 2004 I think it is control c or d. Link to comment Share on other sites More sharing options...
Sophism Posted January 27, 2004 Share Posted January 27, 2004 ctrl C i think Link to comment Share on other sites More sharing options...
chavo Posted January 27, 2004 Share Posted January 27, 2004 It depends on the app. For most console apps ctrl-c will quit. Ctrl-D will log you ou or exit the shell. Some programs are different though, such as less which pressing q will quit. But as I said 99% are ctrl-c Link to comment Share on other sites More sharing options...
XST1 Posted January 27, 2004 Author Share Posted January 27, 2004 Ctrl C it is.... thanks guys. edit: Chavo: thanks for the additional advice too. Link to comment Share on other sites More sharing options...
MrStaticVoid Posted January 27, 2004 Share Posted January 27, 2004 If ctrl+c doesn't work for some programs, ctrl+z works for all. That kills it immediately. Link to comment Share on other sites More sharing options...
MG-Cloud Posted January 27, 2004 Share Posted January 27, 2004 If ctrl+c doesn't work for some programs, ctrl+z works for all. That kills it immediately. Correct me if I'm wrong, but doesn't ctrl z just send a running process to the background? Link to comment Share on other sites More sharing options...
MrStaticVoid Posted January 27, 2004 Share Posted January 27, 2004 Good thing I mostly use ctrl+c...hmmm...I wonder how many processes I've sent to the background. :blush: Link to comment Share on other sites More sharing options...
Recommended Posts