But before you roll using CMD, you should know at least elementary commands.

And one of them is the command to clear its screen.

The most straightforward way to wipe the Command Prompt screen is by using the built-inclscommand.

Article image

Valeriy Odintsov

But that way is for weaklings, isnt it?

So lets take a closer look at how it works below.

How to flush the Command Prompt on Windows

As mentioned, everything is simple here.

Article image

You just need to use one command suitable for CMD on Windows 10 and 11.

So go through this:

Voila the Command Prompt screen is now cleared.

And thats actually it.

Article image

There are no other ways to remove all the text from CMD altogether.

It works the same way in PowerShell (Terminal on Windows 11).

Fortunately, Windows Command Prompt provides several methods to delete text efficiently.

Heres how they work:

For some reason, it doesnt work so with the Ctrl + Delete combination.

This can be helpful if you want to start over without moving the cursor around to delete individual characters.

Can I check my Command Prompt history?

Yes, you could definitely do it.

There are several ways to do this.

Lets look at each of them.

Once youve selected a command, pressEnterto execute it again.

PressEnterto execute the selected command.

Using the doskey command

Thedoskeycommand allows you to manage and recall previous commands in the Command Prompt.

you’re free to use the arrow keys to scroll through the list.

PressEnterto grab the command you need.