command reads your
entry to find out how to erase your screen, then it sends that command.
If you're typing something confidential that other people shouldn't
read, just type
at a shell prompt when you can.
Many UNIX programs let you do a
shell escape (
to run a single UNIX command - you can clear your screen that way, by
typing something like
from inside the program.
Some terminals and window systems have memories - scrolling buffers that
save previous screens or the current one.
command probably won't clear those.
Check your manual to find out how - or, if you're desperate, log off UNIX,
then turn off your screen's power for a minute.
If you leave your desk for a long meeting or for the day, then remember that
you didn't erase your screen, you can probably clear your screen from another
(If your system has the
-group-write protection (
then you'll have to log in or
to your account from the other terminal first.)
If the other terminal has the same terminal type, use the command:
ttyp3 Jun 24 10:44
clear > /dev/ttyp3
If you're on a different type of terminal, you'll need to set the
before you use that command.