bg

Resumes jobs that have been suspended (e.g. using Ctrl + Z), and keeps them running in the background. More information: <https://manned.org/bg>.

Install

All systems
curl cmd.cat/bg.sh
Debian Debian
apt-get install bash
Ubuntu
apt-get install bash
Alpine
apk add bash
Arch Arch Linux
pacman -S bash
image/svg+xml Kali Linux
apt-get install bash
CentOS
yum install bash
Fedora
dnf install bash
Windows (WSL2)
sudo apt-get update sudo apt-get install bash
OS X
brew install bash
Raspbian
apt-get install bash
Docker
docker run cmd.cat/bg bg powered by Commando

Resumes jobs that have been suspended (e.g. using Ctrl + Z), and keeps them running in the background. More information: <https://manned.org/bg>.

  • Resume the most recently suspended job and run it in the background:
    bg
  • Resume a specific job (use `jobs -l` to get its ID) and run it in the background:
    bg %job_id

© tl;dr; authors and contributors