On bash command-line, how to delete all letters before cursor?
On bash command-line, how to delete all letters before cursor? I know Ctrl-k deletes all afterward the cursor. Answer Ctrl-u – Cut everything before the cursor Other Bash shortcuts, Ctrl-a Move cursor to beginning of line Ctrl-e Move cursor to end of line Ctrl-b Move cursor back one word Ctrl-f Move cursor forward one word … Read more