Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm setting up a Linode server, and connecting to it via SSH with PuTTY.

When I bring up a man page, and don't want to go through the whole thing, I'm used to doing a Ctrl+C on the Unix boxes I've worked with. This doesn't do anything for me in this situation, and I end up having to close the window, and reconnect.

Is there a way to enable Ctrl+C to work normally, or is there a different key sequence in Ubuntu that will implement the break?

share|improve this question
Why don't you use q key to close man "environment"? – Vojtech Trefny Aug 19 '11 at 19:40
@Vojtech, that worked great, make an answer with it and I'll accept. – Lance Roberts Aug 19 '11 at 19:40
+1 good question! I had this exactely same problem had to force reboot. – alexy13 Aug 19 '11 at 20:34
up vote 11 down vote accepted

You can quit man (which uses less) by pressing q.

share|improve this answer

This incessant trapping of the interrupt signal (control C) has been bothering me for many years. When I hit CTRLC in a program, it's because I want keyboard control back, and I want that control back immediately, with prejudice. There's no reason for something like 'less' to ignore control C. It's a bad design decision.

Fortunately, there's another key combination which is not (yet) being ignored by most programs: control-\. This sends an 'abort' signal which is generally not trapped that also serves to give you back control of your terminal.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.