HiveBrain v1.2.0
Get Started
← Back to all entries
snippetjavascriptTip

Bash Shortcuts Cheat Sheet

Submitted by: @import:30-seconds-of-code··
0
Viewed 0 times
javascriptshortcutsbashcheatsheet

Problem


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

Solution


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

Context

From 30-seconds-of-code: terminal-shortcuts-cheatsheet

Revisions (0)

No revisions yet.