How To Clear a Terminal In Linux?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
1. To clear the terminal window on a Linux/Unix/macOS/BSD system, you can use the clear command.
2. To clear the terminal window, type the following command in your terminal and press Enter:
clear
3. To clear the terminal window and all previous commands from the history, use the following command:
reset
To clear a Linux terminal, use the shortcut “Ctrl + L” or type in “clear” and hit enter. This will clear the terminal and display the prompt again.