CMD Master
Back to Blog
Arnošt Havelka

Clear Screen (cls)

Wipe the slate clean.

Start Interactive Lesson
Clear Screen (cls)

Clear Screen (cls)

Terminal getting messy? Too much text cluttering your view? The cls command is your digital eraser—it wipes everything off the screen and gives you a fresh start.

Usage:cls

Real-World Examples

Clear terminal clutter after running many commands:

Command Prompt
C:\Users\User> dir Volume in drive C has no label. Directory of C:\Users\User 05/21/2024 02:05 PM <DIR> Documents 05/21/2024 06:30 PM <DIR> Downloads 11/12/2024 03:00 PM 12 notes.txt C:\Users\User> echo This screen is messy! This screen is messy!
C:\Users\User>cls

Knowledge Check

1 / 2

What does CLS stand for?

Up Next

The Help Command

Never get lost again.