How to clear the terminal buffer
Sometimes you wan to start over in the terminal. On OSX on your Mac there is a convenient shortcut: cmd+k. This will clear your scroll buffer. In Ubuntu there is no such shortcut. What you can do clear and reset the scroll-back is to write
clear && printf '\e[3J'
Of course we can add an alias to our .bashrc so that we can just write, for example, ccc
alias ccc="clear && printf '\e[3J'"