Open System Services Shell and Utilities Reference Manual (G06.27+, H06.04+)

User Commands (d - f) fg(1)
NAME
fg - Brings processes to the foreground
SYNOPSIS
fg [job]
DESCRIPTION
The fg command brings each process specied as job to the foreground. See the reference page
for the jobs command for information on the format of job.
EXAMPLES
1. The following command restarts, as a foreground process, the stopped background
process whose job number is 149.
fg %149
NOTES
The fg command is a shell built-in command. It differs from the regular commands in that it does
not open a new shell process when it executes.
A general discussion of shell built-in commands and a list of the OSS shell built-in commands are
in the reference page for sh(1).
RELATED INFORMATION
Commands: jobs(1), sh(1).
527188-004 Hewlett-Packard Company 3127