Files
30-seconds-of-code/snippets/terminal-shortcuts-cheatsheet.md
2023-04-28 22:35:56 +03:00

25 lines
1.1 KiB
Markdown

---
title: Bash Shortcuts Cheat Sheet
type: cheatsheet
tags: [webdev,bash,cheatsheet]
author: chalarangelo
cover: terminal
excerpt: Maximize your productivity when working with a bash or other shell terminal by using these keyboard shortcuts.
dateModified: 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