26 lines
1.3 KiB
Markdown
26 lines
1.3 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.
|
|
---
|
|
|
|
- <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
|
|
|
|
|
|
**Image credit:** [Tracy Adams](https://unsplash.com/@tracycodes?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText) on [Unsplash](https://unsplash.com?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText)
|