Bash: Reset and Clear Commands

Posted by sixtyfootersdude on Super User See other posts from Super User or by sixtyfootersdude
Published on 2010-03-22T20:56:15Z Indexed on 2012/04/01 5:32 UTC
Read the original article Hit count: 592

Filed under:
|
|
|

I have been using the command:

reset

to clear my terminal. Although I am pretty sure this is not what I should be doing. Reset, as the name suggests resets your entire terminal (changes lots of stuff). Here is what I want:

I basically want to use the command clear. However if you clear and then scroll up you still get tonnes of stuff from before. In general this is not a problem however I am looking at gross logs that are long and I want to make sure that I am just viewing the most recent one. I know that I could use more or something like that but I prefer this approach.

© Super User or respective owner

Related posts about command-line

Related posts about unix