Terminal schortcuts
Navigation
- Ctrl + A : Begin
- Ctrl+ E : End
- Ctrl + U : Clear up line
- Ctrl + L : Clear Screen
- Ctrl + d : Delete Line
- Ctrl + - : Undo
- Ctrl + Left & Ctrl + Right: Hitting Ctrl and the left or right arrow keys jumps between arguments in your command.
- Ctrl+ U: This clears the entire line
- Ctrl + K: This deletes the line from the position of the cursor to the end of the line
- Ctrl + R: This lets you search your command history for something specific.
- Meta + W : Delete
- Meta + F : Word Forward
- Meta + B : Word Backwards
https://lifehacker.com/5743814/become-a-command-line-ninja-with-these-time-saving-shortcuts
Use of Terminal
- Output Redirection: >
- Append Output: >>
- Pipe contents: |
- Show File contents: cat
- Search: Grep/Rg + Regex & Search;