xref: /illumos-gate/usr/src/man/man1/clear.1 (revision 66582b606a8194f7f3ba5b3a3a6dca5b0d346361)
te
Copyright 1989 AT&T Copyright (c) 2002, Sun Microsystems, Inc. All Rights Reserved
The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
CLEAR 1 "Jul 12, 2002"
NAME
clear - clear the terminal screen
SYNOPSIS

clear [term]
DESCRIPTION

The clear utility clears the terminal screen if this is possible. It looks in the environment for the terminal type, if this is not already specified by the term operand, and then looks up the terminfo database to figure out how to clear the screen.

OPERANDS
term

Indicates the type of terminal. Normally, this operand is unnecessary because the default is taken from the environment variable TERM.

SEE ALSO

tput(1), attributes(5)