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:

dc - Desk Calculator
bg - Send to background



Back to the Top

Simon Sheppard
SS64.com