Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Getting out of less

  1. Jun 3, 2008 #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: Jun 3, 2008
  2. jcsd
  3. Jun 3, 2008 #2


    User Avatar
    Science Advisor
    Homework Helper

    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.
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?

Similar Discussions: Getting out of less
  1. PC locked out by virus (Replies: 11)