dumb linux question


Recommended Posts

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

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

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

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.