Cleaning the command line (like `ESC` in Windows)

Solution 1:

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.