What is the difference between Ctrl-C or Ctrl-\ for terminating a process?
They are both similar though.
Can't find any documentation for Ctrl-\.
CtrlC sends SIGINT to the foreground process, Ctrl\ sends SIGQUIT. The default handlers for both of them terminate the process, but the handler for SIGQUIT will also create a core dump (unless core dumps are disabled).
See here for a list of how all the standard termination signals are processed by default.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With