What command is used to clear the terminal screen?

20 December 2022

What command is used to clear the terminal screen?

Posted in Maintenance

To clear the terminal screen, use the clear command from the Unix operating system. This command first searches the environment for the type of terminal, and then it searches the terminfo database to determine how to clear the screen. Additionally, this command will disregard any possible command-line inputs. Additionally, the clear command doesn't accept any arguments and is practically identical to the cls command on a variety of other Operating Systems.

Comments (0)

Leave a comment

Please login to leave a comment.