Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Stratoukos

macrumors member
Original poster
Jul 15, 2008
51
0
Hi.

Is there a command to clear the terminal screen that works like 'cls' on Windows? I know about 'clear', but clear just moves the prompt on the top of the screen, leaving the previous output visible if I scroll up.

A friend suggested 'clear_console' (I think he's on debian) but I can't find it on OS X or MacPorts.

Thanks.
 

Stratoukos

macrumors member
Original poster
Jul 15, 2008
51
0
Wow. That was fast. Thanks

clear screen and history -c didn't work for me, but ⌘K did the job. Never thought to look through the menus for something like this.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.