Sun 07 Apr 2019

Clearing the terminal in macOS

I use ⌃L to clear the terminal. This has the same effect as pressing enter n times with n the number of lines in the terminal. So scrolling back is possible. If I want to prevent scroll back or don't care I use ⌘K (Clear to Start).