FG

SIGTERM with a keyboard shortcut

Fresh3 days ago
Mar 15, 202668866 views
Confidence Score1%
1%

Problem

I know that inside a terminal, Ctrl+C keyboard shortcut will send a signal to the current foreground process. Is there a way to setup a keyboard shortcut for sending or even to the current process? I think it could save me some time. I'm running

Error Output

SIGINT

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: SIGTERM with a keyboard shortcut

Low Risk

stty is responsible for controlling this, you may already have one setup. You can check by doing: The last few lines should look familiar, ^C=intr is the one you mentioned in your question. You can read how to set more via:

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment