Skip to content

bash

ctrl + a move to the start of the line
ctrl + e move to the end of the line
ctrl + u delete from cursor to the start of the line
ctrl + k delete from cursor to the end of the line
ctrl + w delete word before cursor
esc + d delete word after the cursor
ctrl + l clear the terminal screen
ctrl + c stop the current process/command
ctrl + d log out or exit the terminal
ctrl + z pause the current process (can be resumed)
ctrl + r search command history (backward search)
esc + f move one word forward
esc + b move one word backward
ctrl + shift + c copy
ctrl + shift + v paste
ctrl + shift + n new terminal
ctrl + shift + t new tab
ctrl + page-up/ctrl + page-down switch between tabs
!! run last command
!n run n-th command (from history)

last updated: Tue Oct 3 20:49:47 2023

Back to top