clear man page

clear — clear the terminal screen


clear clears your screen if this is possible, including its scrollback buffer (if the extended "E3" capability is defined). clear looks in the environment for the terminal type and then in the terminfo database to determine how to clear the screen.

clear ignores any command-line parameters that may be present.

See Also

tput(1), terminfo(5)

This describes ncurses version 6.0 (patch 20160709).

Referenced By

setterm(1), tput(1).