Cleaning the command line (like `ESC` in Windows)
Olivia Zamora
When have the garbage in the command line, I can simply hit escape and it is cleaned. Nothing happens in Linux. What is the corresponding command? Backspace over the whole string is boring and stupid.
I would like to crosspost to both linux and unix forum, since I think this applies to both.
2 Answers
You could use
ctrl+lto clear your screen. Or
ctrl+uto clear the line before your cursor. Or
ctrl+c to abort your command.
2Use reset to clear the terminal all the way up.