DEV Community


Discussion on: 6 Commands to Clear Linux Terminal

moopet profile image
Ben Sinclair

ctrl-l is bound to the same sequence as printf "\033c" I believe.
reset has other effects, such as setting the foreground and background colours and effects back to their default and stopping interpretation of any flow control or OOB commands.
What's the benefit from clear && clear?