Moving a job to the foreground

When you want to move a job from the background to the foreground, use the fg command. If there are multiple background jobs, you need to supply the job identifier preceded by a % sign. For example:
fg %7