cmd | cls command Last Updated : 29 Sep, 2020 Comments Improve Suggest changes Like Article Like Report Cls is a internal command found inside windows command interpreter cmd, that is used for clearing the console window. It does so by removing the entry of all previously entered commands, and their corresponding outputs. The command was first introduced in the MSDOS Version 2. Initially it was for command.com (command processor for MSDOS), which is the predecessor of cmd.exe (AKA Command Prompt). It is one of the most used commands, and is offered by all Operating Systems in one way or another (ex. Linux has a command named clear which serves the same purpose). In this article, we would learn about this command and how to use it. Description of the Command : CLS : Clears the screen. Note - In order to obtain the above text execute the cls /? command on cmd. Using Command : The command serves only one purpose, and that is to clear the output screen. For doing so execute the command without any parameters. Example - For this example, we would be using the following console window. This window currently contains output from the dir command. In order to clear this output (and others before it) execute the CLS command. After command execution, the windows appear as follows. It is clear that from the above image, that all the previous output has been removed. Comment More infoAdvertise with us Next Article Components of Operating System V vasudev4 Follow Improve Article Tags : Operating Systems Similar Reads Cd cmd command Cd is the abbreviation or synonym for chdir. It is a command found inside the Windows Command Processor (cmd) that allows for change of the current working directory of a shell instance. The CWD (Current Working Directory) is a path (of a directory) inside the file system, where the shell is current 3 min read cmd | Dir command The dir command is one of the most useful commands while navigating the command line, and is present in its different forms in several operating systems. In this article, we will look at the Dir command and learn several use cases for it.What is the dir Commanddir command in Windows OS is a built-in 9 min read cmd | Rem command Rem (abbreviation of remark) is a command (internal) found inside the Windows Command Processor Command Prompt, that allows for inclusion of comments inside batch programs. Comments are supported by most Programming languages usually via special syntax that is associated to them. Ex. Python using po 3 min read Components of Operating System An Operating system is an interface between users and the hardware of a computer system. It is a system software that is viewed as an organized collection of software consisting of procedures and functions, providing an environment for the execution of programs. The operating system manages system s 7 min read Difference between CMD and BAT 1. CMD: A CMD file is a script file that incorporates one or more instructions in a simple textual content format that are performed in order to operate a range of tasks. It is comparable to a .BAT file, which is additionally in many instances used to keep a batch of executable commands.CMD is the c 3 min read Important Linux Commands (leave, diff, cal, ncal, locate and ln) Linux provides some important tricks. Here are a few and important one's: leave â remind you when you have to leave Syntax: leave +hhmm leave waits until the specified time (within the next 12 hours), then reminds you that you have to leave by writing to the TTY that you executed leave on. You are r 2 min read Like