Chalarangelo/30-seconds-of-code

View on GitHub
content/snippets/articles/s/terminal-shortcuts-cheatsheet.md

Summary

Maintainability
Test Coverage
---
title: Bash Shortcuts Cheat Sheet
type: cheatsheet
tags: [webdev,bash,cheatsheet]
cover: terminal
excerpt: Maximize your productivity when working with a bash or other shell terminal by using these keyboard shortcuts.
listed: true
dateModified: 2021-06-12
---

- <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