Terminal control/Clear the screen

From Rosetta Code
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

PureBasic

Clears the whole console content using the current background color. <lang PureBasic>ClearConsole()</lang>

UNIX Shell

Works with: Bourne Shell

<lang bash>clear</lang>