How To Install Fg?

How To Install Fg?

fg

Run jobs in foreground.

Maintainer: Matthias Klose



Section: shells

Install fg

  • 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

Run jobs in foreground.

How to use fg?

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

Bring most recently suspended background job to foreground:
fgClick to copy
Bring a specific job to foreground:
fg job_idClick to copy
Install the latest version of fg in Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian and macOS from terminal. To install the fg just copy the above command for your OS and run into terminal. After you run the command it will grab the latest version of fg from the respository and install it in your computer/server.