fg JOB_ID, where fg is acronym for “foreground"
list the jobs for the listing the jobs view to the below given example.
Code:
host:~ user$ sleep 100&
[1] 16245
host:~ user$ jobs
[1]+ Running sleep 100 &
hostl:~ userl$ fg 1
sleep 100
^C
host:~ user$
write help on the bash prompt to view the list of built-in commands, after that take the help of COMMAND to find a quick explanation.
Code:
host:~ user$ help fg
fg: fg [job_spec]
Locate the JOB_SPEC in the fg, and create it as the current job. If the JOB_SPEC is not available there, then it means that the shell's of the current job has been utilized.
Bookmarks