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