HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

cls — Clears the screen. In PowerShell, this command is an alias of `Clear-Host`. This documentation is ba

Submitted by: @import:tldr-pages··
0
Viewed 0 times
theclscommandthisclearsclipowershellscreen
windows

Problem

How to use the cls command: Clears the screen. In PowerShell, this command is an alias of Clear-Host. This documentation is based on the Command Prompt (cmd) version of cls. More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/cls>.

Solution

cls — Clears the screen. In PowerShell, this command is an alias of Clear-Host. This documentation is based on the Command Prompt (cmd) version of cls. More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/cls>.

View the documentation of the equivalent PowerShell command:
tldr clear-host


Clear the screen:
cls

Code Snippets

View the documentation of the equivalent PowerShell command

tldr clear-host

Clear the screen

cls

Context

tldr-pages: windows/cls

Revisions (0)

No revisions yet.