Ctrl+w
delete a word before current cursorCtrl+y
undo a operation.Ctrl+K
delete all words after cursor.Ctrl+a
go to start of current lineCtrl+e
go to end of current lineCtrl+u
clear up to beginning.Alt+Shift+#
comment current line and add it to the bash historyCtrl+L
clear current window.Ctrl+XX
toggle between the start of line and current cursor positionAlt+F
move cursor forword one wordAlt+B
move cursor back one wordCtrl+D
delete current character.Ctrl+R
search the first history command matched with a given word, press it again, it will search the next matched command in history.Ctrl+G
exit command search mode without running a command.Ctrl+_
undo last editing command [References][https://www.howtogeek.com/howto/ubuntu/keyboard-shortcuts-for-bash-command-shell-for-ubuntu-debian-suse-redhat-linux-etc/]