Skip to content

↑↓ moveEnter openEsc close

Quit the program and dump core in Bash

Bash Bash 5.2 / Zsh 5.9 · 36 shortcuts · checked Nov 2026 · Source: GNU Project docs

In Bash and Zsh, press Ctrl+\ on Mac, Linux, Windows.

What else uses Ctrl+\?

More Bash shortcuts: programs and screen

ActionMacLinuxWindows
Stop the running programCtrlCCtrlCCtrlC
Suspend the running programCtrlZCtrlZCtrlZ
End of input; exits the shell on an empty lineCtrlDCtrlDCtrlD
Clear the screenCtrlLCtrlLCtrlL
Pause outputCtrlSCtrlSCtrlS
Resume outputCtrlQCtrlQCtrlQ

All 36 Bash shortcuts