Main Content

An easy way out

Archive - Originally posted on "The Horse's Mouth" - 2005-03-17 06:51:24 - Graham Ellis

Why is it that there can't be a single way that's guaranteed to get you out of ANY program?

We use programs such as telnet and ssh (and others) and we're used to running an exit command to get out of them - so why, or why, does it have to be quit to get out of FTP?

[Ctrl-C] (Control - C) will get you out of most programs in an emergency - like if you've written your own program that's in an infinite loop. But ... it won't get you out of vi. To get out of vi, you can use ZZ or :q![Enter] or two or three other alternatives.

All of which help to keep life fun and interesting ;-)