by @kodeazy

clear is not recognized as an internal or external command?

Home » linux » clear is not recognized as an internal or external command?

I was trying to clear the data in command prompt in windows using clear command.
But I was getting below error.

D:\linux-learning>clear
'clear' is not recognized as an internal or external command,
operable program or batch file.
  • In windows we do not have clear command.
  • To clear the content inside the command prompt
  • we use cls command

Below is an example syntax

Clear Command