Skip to content

↑↓ moveEnter openEsc close

Stop the running program in Bash

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

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

What else uses Ctrl+C?

More Bash shortcuts: programs and screen

ActionMacLinuxWindows
Suspend the running programCtrlZCtrlZCtrlZ
Quit the program and dump coreCtrl\Ctrl\Ctrl\
End of input; exits the shell on an empty lineCtrlDCtrlDCtrlD
Clear the screenCtrlLCtrlLCtrlL
Pause outputCtrlSCtrlSCtrlS
Resume outputCtrlQCtrlQCtrlQ

All 36 Bash shortcuts