Name
fg
Synopsis
fg [jobIDs
]
Bring the current job or the jobIDs to
the foreground. jobID can be %
job-number
.
See also the section "Job
Control" earlier in this chapter.
Example
If you suspend a vi editing session (by pressing CTRL-Z), you might resume vi using any of these commands:
%%
%fg
%fg %
%fg %vi
Match initial string
Get Unix in a Nutshell, 4th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.