---
layout: page
category-page: intermediate
category-title: Intermediate commands
tags: stopped job fg foreground
author: Fabiano Fenini
title: fg
previous-page: ""
---
The fg
command allows us to continue a stopped operation by running it in foreground.
The command name stands for foreground.
fg [%job_number]The parameter [%job_id] contains the job number you wish to run in foreground. If this is not indicated, the command will run the last stopped operation.