Cygwin command

So, I've been using Cygwin + putty for the last couple of years (it's a much better replacement for a shell than cmd.exe), but one thing has been annoying me about it. For the life of me, I couldn't figure out how to clear the screen.

That is, until today, when I accidentally pressed "Ctrl + L" at the same time. Voila, clear screen.

Some testing shows that it also works on the plain Jane Cygwin terminal as well. Shame I hadn't figured that out earlier.

Comments

juanmr82 said…
Perhaps a bit late reply but THANKS!! I was looking a simple way to clear the screen. Most of the solutions I found involved compiling/loading some libraries, pretty complicated for such simple task!
Unknown said…
No problem.
This reminds me that I do need to update the blog a little more often.
Daniel said…
Cheers! Lack of a clear screen command has really been bugging me in Cygwin!
Low351 said…
CTRL + L is great but hard to put in a script, just install the "ncurses" package using your cygwin setup program and you'll get a proper "clear" command. It's under Utils.

FYI - I don't know when they put that in so it may not have existed at the time of this post.

Popular Posts