What is the equivalent of 'clear' on Windows?

0433

The equivalent of the clear command on Windows is the cls command. This command is used in the Command Prompt to clear the screen.

Usage:

To use the cls command, simply open the Command Prompt and type:

cls

Effect:

When you execute this command, it will clear all the text displayed in the Command Prompt window, providing a clean slate for further commands.

Note:

If you're using Windows PowerShell, the cls command also works, but you can alternatively use the Clear-Host cmdlet:

Clear-Host

If you have any more questions or need further assistance, feel free to ask!

0 Comments

no data
Be the first to share your comment!