How To Install Bg In Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian And MacOS?

How To Install Bg In Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian And MacOS?

bg

Resumes jobs that have been suspended (e.g. using `Ctrl + Z`), and keeps them running in the background.

Maintainer: Matthias Klose



Section: shells

Install bg

  • Debian apt-get install bash Click to copy
  • Ubuntu apt-get install bash Click to copy
  • Alpine OS apk add bash Click to copy
  • Arch Linux pacman -S bash Click to copy
  • Kali Linux apt-get install bash Click to copy
  • CentOS yum install bash Click to copy
  • Fedora dnf install bash Click to copy
  • Raspbian apt-get install bash Click to copy
  • macOS brew install bash Click to copy

Resumes jobs that have been suspended (e.g. using `Ctrl + Z`), and keeps them running in the background.

How to use bg?

Below are few example commands for bg that you can use in the terminal.

Resume most recently suspended job and run it in the background:
bgClick to copy
Resume a specific job (use `jobs -l` to get its ID) and run it in the background:
bg job_idClick to copy
Installing bg command is simple. just copy one of the above commands for your operating system and paste it into terminal. This command is available for Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian and macOS operating systems. Once you run the command it will install the latest version of bg 2024 package in your OS.