fg

Send job to foreground

Syntax
      fg [PID...]

Options:
 If PID is specified, the job with the specified group id is put in the foreground.

Send the specified job to the foreground. While a foreground job is executed, fish is suspended. If no job is specified, the last job to be used is put in the foreground.

The PID of the desired process is usually found by using process expansion.

Example

Put the job with job id 0 in the foreground:
fg %0

“A true friend stabs you in the front” ~ Oscar Wilde

Related bash commands:

bg - Send to background
jobs - List active jobs
suspend - Suspend execution of this shell


© Copyright SS64.com 1999-2013
Some rights reserved