Is there a proper way to exit less - without having to kill the process?
I accidently created a file called - (minus) and tried to view it with:
less - Less than follows stdin and I did not find any way to exit it properly. I had to ctrl-z and kill the process. Is there some sort of escape char or any other way to exit less - without killing it?
PS: I know the proper way of viewing a file called - is less ./-.
Enterwill give you a:prompt that you can typeqat to quit.ctrl-cwithout any input. Which is what I unfortunately did.ctrl-cstraight away.