Which command is used to clear the screen A. Cls B. Clear C. Clscreen D. All of above

Cls
Clear
Clscreen
All of above

The correct answer is: All of the above

The commands cls, clear, and clsscreen

48.6-11.4 42.9-11.4 132.3-11.4 132.3s0 89.4 11.4 132.3c6.3 23.7 24.8 41.5 48.3 47.8C117.2 448 288 448 288 448s170.8 0 213.4-11.5c23.5-6.3 42-24.2 48.3-47.8 11.4-42.9 11.4-132.3 11.4-132.3s0-89.4-11.4-132.3zm-317.5 213.5V175.2l142.7 81.2-142.7 81.2z"/> Subscribe on YouTube
are all used to clear the screen in a Windows command prompt.

cls is the original command for clearing the screen. It was introduced in MS-DOS 2.0.

clear is a newer command that was introduced in Windows 95. It is equivalent to cls.

clsscreen is a command that was introduced in Windows XP. It is equivalent to cls and clear.

All three commands work in the same way: they clear the screen of all text and cursor position.

Exit mobile version