Back

Terminal Shortcuts

macOS / zsh

Ctrl + AMove to start of line
Ctrl + EMove to end of line
Ctrl + UClear line before cursor
Ctrl + KClear line after cursor
Ctrl + RSearch history
Ctrl + LClear screen
Ctrl + CInterrupt / kill foreground process
Ctrl + ZSuspend foreground process (use fg/bg to resume)

General Unix

Ctrl + CInterrupt / kill foreground process
Ctrl + ZSuspend foreground process (fg/bg to resume)
Ctrl + DLogout / EOF
!!Run last command
!$Last argument of previous cmd
historyShow command history