After I had typed a long command in the bash, i determined not to execute it for some reason.
But i just wanted to start a new line without clear the command. That command was still on the screen? Somebody help me?
#I typed as below:
$>find -name "filepattern" -exec grep "hello" {} \;
#I wanted as below without executing the 'find' command.
$>find -name "filepattern" -exec grep "hello" {} \;
$>
You can use ctrlc to ‘cancel’ a command you’ve typed.
My testing, on OS X: