Wednesday, May 1, 2024
7
rated 0 times [  7] [ 0]  / answers: 1 / hits: 5082  / 3 Years ago, thu, may 27, 2021, 6:44:36

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.


More From » command-line

 Answers
2

You could use



ctrl+l


to clear your screen. Or



ctrl+u


to clear the line before your cursor. Or



ctrl+c 


to abort your command.


[#29735] Friday, May 28, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
lawain

Total Points: 150
Total Questions: 106
Total Answers: 101

Location: China
Member since Mon, Aug 22, 2022
2 Years ago
;