Files
30-seconds-of-code/blog_posts/terminal-shortcuts-cheatsheet.md
Isabelle Viktoria Maciohsek 9482b077ec Bake dates into articles
2021-06-13 19:52:48 +03:00

26 lines
1.2 KiB
Markdown

---
title: Bash Shortcuts Cheat Sheet
type: cheatsheet
tags: webdev,bash,cheatsheet
authors: chalarangelo
cover: blog_images/terminal.jpg
excerpt: Maximize your productivity when working with a bash or other shell terminal by using these keyboard shortcuts.
firstSeen: 2021-04-19T12:00:00+03:00
lastUpdated: 2021-06-12T19:30:41+03:00
---
- <kbd>Ctrl</kbd> + <kbd>C</kbd> Terminate the command
- <kbd>Ctrl</kbd> + <kbd>Z</kbd> Suspend the command
- <kbd>Ctrl</kbd> + <kbd>A</kbd> Move to the start of the line
- <kbd>Ctrl</kbd> + <kbd>E</kbd> Move to the end of the line
- <kbd>Ctrl</kbd> + <kbd>F</kbd> Move forward one character
- <kbd>Ctrl</kbd> + <kbd>B</kbd> Move backward one character
- <kbd>Ctrl</kbd> + <kbd>U</kbd> Delete from the cursor to the start of the line
- <kbd>Ctrl</kbd> + <kbd>K</kbd> Delete from the cursor to the end of the line
- <kbd>Ctrl</kbd> + <kbd>W</kbd> Delete from the cursor to the start of the word
- <kbd>Ctrl</kbd> + <kbd>D</kbd> Delete the character under the cursor
- <kbd>Ctrl</kbd> + <kbd>H</kbd> Delete the character before the cursor
- <kbd>Ctrl</kbd> + <kbd>T</kbd> Swap the character under the cursor with the previous one
- <kbd>Ctrl</kbd> + <kbd>L</kbd> Clear the screen