Advertisement
Russell

Bash Shell Keyboard Shortcuts

Apr 3rd, 2022 (edited)
35
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.89 KB | None | 0 0
  1. Ctrl + A Go to the beginning of the line you are currently typing on
  2. Ctrl + E Go to the end of the line you are currently typing on
  3. Ctrl + L Clears the Screen, similar to the clear command
  4. Ctrl + U Clears the line before the cursor position. If you are at the end of the line, clears the entire line.
  5. Ctrl + H Same as backspace
  6. Ctrl + R Let's you search through previously used commands
  7. Ctrl + C Kill whatever you are running
  8. Ctrl + D Exit the current shell
  9. Ctrl + Z Puts whatever you are running into a suspended background process. fg restores it.
  10. Ctrl + W Delete the word before the cursor
  11. Ctrl + K Clear the line after the cursor
  12. Ctrl + T Swap the last two characters before the cursor
  13. Esc + T Swap the last two words before the cursor
  14. Alt + F Move cursor forward one word on the current line
  15. Alt + B Move cursor backward one word on the current line
  16. Tab Auto-complete files and folder names
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement