What is a quick way to exit a program in the OSX terminal?
3 Answers
press control + C in your keyboard.
and in some man-page and vim editor write :q
and press enter.
As they pointed out, you can press control+C in almost any terminal application
OR
In OS X, you can additionally press command+.