SyntaxFix
Write A Post
Hire A Developer
Questions
You can use Ctrl+U to clear up to the beginning.
You can use Ctrl+W to delete just a word.
You can also use Ctrl+C to cancel.
If you want to keep the history, you can use Alt+Shift+# to make it a comment.
Bash Emacs Editing Mode Cheat Sheet