logoalt Hacker News

nickjjlast Thursday at 10:43 PM0 repliesview on HN

CTRL+L isn't the same as clear btw, it really maps back to `clear -x`.

CTRL+L clears the visible output but you can still scroll up in your buffer to see the rest, clear will clear that scroll up buffer too.

I've written about and demo'd this in https://nickjanetakis.com/blog/clear-vs-ctrl-l-in-your-shell.