I have just installed Cygwin, and I have displayed a file's contents using the
less command. Now I am unable to exit that in order to type other commands:
I want to exit this mode to type some other commands. How can I do that?
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.Sign up to join this community
less, type q.
Also, check out
man less, or type h from within
less for some more, useful bits of information.
In general, assuming
man has been properly installed,
man xyz will tell you how to use the
xyz tool. On GNU systems like Cygwin or what you call Linux at least,
man will usually display through
less as well, so to exit from
man, again you would type q (which also works in
most which are other pagers used by
man or other commands that need paging on other systems).