Bash CLI
Keyboard shortcuts
Shortcut | Task |
---|---|
Ctrl-O | Execute current line from history, on return gives next line |
Ctrl-U | Delete from cursor to beginning of line |
Ctrl-A | Go to beginning of line |
Ctrl-E | Go to end of line |
Ctrl-F | Go to next word |
Ctrl-B | Go to previous word |
Bang!
Command | |
---|---|
!! | Previous command |
!$ | Last argument of previous command |
!* | All arguments of previous command |
Navigating the current line
Shortcut | Task |
---|---|
Ctrl-O | Execute current line from history, on return gives next line |
Ctrl-U | Delete from cursor to beginning of line |
Ctrl-A | Go to beginning of line |