diff --git a/site/pages/cmd/interm/fg.html b/site/pages/cmd/interm/fg.html index 6c41c82..53f9938 100644 --- a/site/pages/cmd/interm/fg.html +++ b/site/pages/cmd/interm/fg.html @@ -7,10 +7,9 @@ author: Fabiano Fenini title: fg previous-page: "" --- -The fg command allows us to continue a stopped operation by running it in foreground. -
+The fg command allows us to continue a stopped operation by running it +in foreground.
-
The command name stands for foreground.

Usage

@@ -21,6 +20,17 @@ The default fg command syntax is: 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. -

+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.

+ +

Stop a working job

+ +To stop the execution of a command so that i can be later resumed with fg +you need to press the ctrl + Z keys. The job number to be used with the +fg command will be printed. + +
+top
+^Z
+[1]  + NNNN suspended  top
+