Terminal control/Clear the screen: Difference between revisions

From Rosetta Code
Content added Content deleted
(Initial content)
 
(Unix shell)
Line 12: Line 12:


CLS
CLS

=={{header|UNIX Shell}}==

{{works with|Bourne Shell}}

<lang bash>clear</lang>

Revision as of 17:41, 4 October 2010

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>