Clear

From LQWiki
Jump to navigation Jump to search

From the man page:

"clear clears your screen if this is possible. It looks in the environment for the terminal type and then in the terminfo database to figure out how to clear the screen."

Clear takes no arguments. It is conveniently aliased to 'c', for example, with

alias c='clear'

Depending on the terminal configuration, Ctrl-L will achieve the same effect.