CLEAR(1) CLEAR(1) (NAME) clear - (SYNOPSIS) clear [-Ttype] [-V] [-x] (DESCRIPTION) clear (scrollback buffer) ( "E3" ). clear TERM terminfo . clear . ( clear ) cat . (OPTIONS) -T type (type) . TERM . -T LINES COLUMNS . -V ncurses . -x "E3" . (HISTORY) clear 2.79BSD . (1985) . AT&T BSD (tset) (tput) clear tput clear : /usr/bin/tput ${1:+-T$1} clear 2> /dev/null exit Keith Bostic tput BSD tput AT&T clear : exec tput clear . clear ncurses clear BSD ( terminfo) . E3 : o xterm . : printf '\033[2J' (scrollback) : printf '\033[3J' XTerm Control Sequences xterm . o PuTTY . o Red Hat . 3.0 xterm Red Hat ( 683733) . o . clear . o E3 tput "clear" . tput clear tset . (PORTABILITY) IEEE Std 1003.1/The Open Group Base Specifications Issue 7 (POSIX.1-2008) X/Open Curses Issue 7 tset reset . tput ( ) tput clear . (AUTHOR) . (Thomas E. Dickey) (Free Software Foundation, Inc.). (REPORTING BUGS) : (COPYRIGHT) (C) 2018-2021,2022 Thomas E. Dickey (C) 1998-2016,2017 Free Software Foundation, Inc. MIT/X11: . (SEE ALSO) tput(1), terminfo(5), xterm(1). ncurses 6.4 ( 20221231) . ncurses 6.4 CLEAR(1)