fg
fg is a Linux command in the Process Management category, rated intermediate difficulty. Brings a background job to the foreground. The syntax is fg [job_spec]. Key options and parameters: job_spec — job number. It returns none (job moved to foreground). A practical example: fg %1 # Bring job 1 to foreground fg # Bring most recent background job A close relative is ps, which reports a snapshot of current processes. A close relative is top, which real-time interactive process viewer. Updates every few seconds. A close relative is kill, which sends a signal to a process. Default signal is SIGTERM (terminate). More about this category: Linux process management commands — ps, top, kill, killall, pgrep, and more. Manage running processes and system resources. Related Process Management commands: ps, top, kill, killall, pgrep, pkill, nice, renice. This page is part of the free Linux Reference documentation covering 304+ commands, each with syntax, options, practical examples, and a difficulty rating.