Move background jobs to the foreground terminal to run
fg [job_spec ...]
job_spec (optional): Specifies the job identifier to be moved to the foreground for execution, which can be one or more.
Returns the execution status of the job, or returns failure if an error occurs.
#Run the sleep command and press ctrl+z.
sleep 60
^Z
[1]+ Stopped sleep 60
# Use the fg command to run the job in the foreground.
fg%1
# returned messages:
sleep 60