Why Doesn't Control-C Work in the Linux 'less' Command?

  • Thread starter Thread starter ehrenfest
  • Start date Start date
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 2K views
ehrenfest
Messages
2,001
Reaction score
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:
Physics news on Phys.org