clear: Clear the terminal screen

Package: language

Usage

clear

Description

The clear command clears the terminal screen. For this to work properly the environment variable terminal must correctly identify the terminal currently in use. If the terminal should get stuck in reverse video mode, clear will restore normal video mode as well as clearing the screen.

Examples

1. Clear the screen and print the current directory.

cl> cle;dir

See also

beep, stty