What is the clear Command?
If you want to clear the terminal screen and remove all previously displayed commands and output from the screen, you use the clear command.
Syntax:
$ clear
Example 1: Clear the terminal screen
Command:
$ clear
Output:
# The terminal is now clear, and you can type new commands.
Explanation:
After running the command, it only clears the terminal screen, removing all previous commands and outputs.
Note: This command clears the terminal without deleting any files or folders.












