If I have this:
$ bla bla bla bla
Is there any shortcut for Terminal (MacOS) to clean the entire line?
The command to discard (kill) the whole line is not usually assigned a keyboard shortcut.
Here's a bash reference with the different commands and their default keyboard shortcuts.
You can assign a keyboard shortcut to
This will assign
|show 1 more comment|
Following is for Linux bash, but I suppose this should work for Mac also:
Clear input line:
Another trick is just: