Here are a couple of useful shortcuts that are quite useful while working on the terminal
- Up/ Down Arrows: Move through your last used commands.
- Ctrl+left and Ctrl+Right: Jumps between arguments in your commands.
- Home and End or Ctrl+a or Ctrl+e: Move your cursor to the beginning and the end of the currently typed command, respectively.
- Ctrl+u: Clears the entire line so you can type in a completely new command.
- Ctrl+k: This deletes the line from the position of the cursor to the end of the cursor.
- Ctrl+w: Deletes the word before the cursor only.
- Ctrl+r: Search your command history for something specific.
- !!: Runs the most recent command.
- !$: Represents the arguments from your last argument.