Terminal control/Clear the screen

From Rosetta Code
Revision as of 17:41, 4 October 2010 by rosettacode>Markhobley (Unix shell)
Task
Terminal control/Clear the screen
You are encouraged to solve this task according to the task description, using any language you may know.

Clear the terminal window

BASIC

Works with: QBasic
Works with: Locomotive Basic
Works with: ZX Spectrum Basic

<lang qbasic>CLS</lang>

Batch File

CLS

UNIX Shell

Works with: Bourne Shell

<lang bash>clear</lang>