![Forrest logo](/images/logo.png)
clear:tldr:01bc6
clear: Clear the screen (equivalent to pressing Control-L in Bash shell).
$ clear
try on your machine
The "clear" command is used to clear the content that is displayed on the terminal or command prompt window. When this command is executed, it removes all previously entered commands, output, and any text that appeared on the screen. This allows the user to have a clean and empty workspace on the terminal without any clutter. It does not affect the command history, so previously executed commands can still be accessed by scrolling through the command history.
This explanation was created by an AI. In most cases those are correct. But please always be careful and
never run a command you are not sure if it is safe.