5
In the Terminal, what is the difference between the commands reset and clear?
I’m using the Terminal of Ubuntu and apparently the two commands clear the screen.
5
In the Terminal, what is the difference between the commands reset and clear?
I’m using the Terminal of Ubuntu and apparently the two commands clear the screen.
8
clear
Eliminates the content of the visible area. What it actually does is scroll the bar so that you only see the clean area. But if you give a scroll up you will see all the previous content there.
reset
Really cleans the terminal. Equals closing and opening a new terminal.
Browser other questions tagged ubuntu bash terminal
You are not signed in. Login or sign up in order to post.
reset apparently resets all commands, and clear just wipes the screens, in case the reset would be the same thing as rewriting all commands again.
– Renan Rodrigues
That was a metaphor?
– Wallace Maxters
Use the command
man,man resetandman clear, you will see exactly what each command does and will understand the difference between them– user3603