Linux: Get Out of Less [SOLVED]

  • Thread starter ehrenfest
  • Start date
  • #1
2,020
1
[SOLVED] getting out of less

How do you get out of the "less" environment in linux? The normal control-C does not work and I am not sure why. I usually just resort to control-Z but then I have to go back and kill the process which is annoying.

EDIT: apparently .q works; but can someone please explain why the normal control-C does not work?
 
Last edited:
  • #2
The designer of 'less' chose to make it ignore ctrl-c, I don't know why.
Some implementations quit on ctrl-C but this isn't the standard behaviour.
 

Suggested for: Linux: Get Out of Less [SOLVED]

Replies
3
Views
792
Replies
2
Views
397
Replies
24
Views
1K
Replies
26
Views
1K
Replies
18
Views
768
Replies
2
Views
800
Replies
18
Views
2K
Back
Top