Sections
Bash keyboard shortcuts
Move cursor on command line
CTRL+a | Go to the beginning of the line. |
CTRL+e | Go to the end of the line |
CTRL+k | Delete the end of the line |
CTRL+u | Delete all the line |
CTRL+l | Clear Terminal |
CTRL+d | Disconnect |
CTRL+f | Forward one character |
CTRL+b | Back one character |
ALT+f | Go to the end of the word |
ALT+b | Go to the beginning of the word |
History
!! | Rerun the last command |
!l | Rerun the last command who starts with l |
!l:p | Display last command who starts with l |
!$ | Retrieve the last parameter of the previous command |