Resume a job in the foreground.
Section: Shell Job Control
Bring job to foreground
bash
bash
fg %1Explanation
Resume a job in the foreground.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Shell Job Control
Resume stopped job in background
Continue a stopped job in the background.
Suspend current foreground job
Suspend the current foreground process group.
Remove job from shell tracking
Prevent the shell from sending SIGHUP to the job on exit.