How do I completely clear terminal?

How do I completely clear terminal?
Answer
Use
ctrl + k to clear it. All other methods would just shift the terminal screen and you can see previous outputs by scrolling. Use of ctrl + k will remove previous contents plus it will preserve your command history too which you can access by up down arrow keys.
 

Tìm kiếm

Back
Top