I am used to command + k to clear up the terminal in mac. It is very helpful specially while debugging through server logs. What is the equivalent in Ubuntu system ?
|
| |||||
feedback
|
migrated from stackoverflow.com Jul 12 '11 at 18:45
This question came from our site for professional and enthusiast programmers.
|
Clearing the screen This will work for both Mac OS X and *nix:
My answer assumes the default terminal emulators for bash, tcsh (default for Mac OS X) or zsh. Deleting the scrollback buffer (more like ⌘K) This has been asked/answered elsewhere. | |||||||||||||||||
feedback
|
|
^L - the equivalent to 'clear' command I guess this is what you were searching for | |||
feedback
|
|
This is not a key chord, but if you want to clear your terminal and recover it if it gets hosed, you can use the 'reset' command. I know this works in linux and BSD, not sure about OSX. | |||
|
feedback
|