Tuesday, May 5, 2009

Mac OS X: How to clear the terminal as in Windows

How do you clear the terminal in Mac OS X in a similar way as you can do in Windows with the command cls?

If you use clear in the Mac OS X terminal (and also on Linux) what you  get is a simple page scrolling. On the other hand, in the windows terminal the command cls works actually cleaning all the previously entered commands!

To clean the Mac-terminal the  Windows-way you have to use the keyboard shortcut Command+K
That's it! Enjoy!

No comments:

Post a Comment

Your comment will be visible after approval.