This command clears the console (deletes all the messages it is currently displaying).
The syntax for the clear command is as follows:
Find below working examples of the clear command.
This is the only way you can use the clear command. After running the above command, your console will be cleared.