xref: /titanic_50/usr/src/man/man1/clear.1 (revision 0e8139c7ae64247b4d7b4a98fdae6557f5ba0b40)
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 "12 Jul 2002" "SunOS 5.11" "User Commands"
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)