fg
ProcessesFundamentals In real LinuxBring a job to the foreground
Name: fg = foreground
This command needs a real Linux system; you can practise it in real Linux mode.
Description
fg is a shell builtin that brings a background or stopped job to the foreground so it gets keyboard input again; without an argument it uses the most recent job.
Syntax
fg [%JOB]Common options
| %N | Job number |
| %+ / %- | The current job / the previous one (%+ when none is given) |