FG
💻 Software

How can I do Ctrl-Z and bg in one keypress to make process continue in background?

Fresh5 days ago
Mar 15, 202622056 views
Confidence Score0%
0%

Problem

I follow this pattern of suspending the task and then letting it to continue too often with the Ctrl-Z bg sequence. I was wondering is there any way to compress that to single keypress? My shell is

Error Output

zsh

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How can I do Ctrl-Z and bg in one keypress to make process continue in background?

Low Risk

The Ctrl+Z sequence is handled by the terminal, not by the shell. (Useful background: What is the exact difference between a 'terminal', a 'shell', a 'tty' and a 'console'?) Only a small, non-extensible set of functions can be bound to a key in a te…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment