mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-25 12:23:09 +00:00
17 lines
741 B
Text
17 lines
741 B
Text
\section bg bg - send jobs to background
|
|
|
|
\subsection bg-synopsis Synopsis
|
|
\fish{synopsis}
|
|
bg [PID...]
|
|
\endfish
|
|
|
|
\subsection bg-description Description
|
|
|
|
`bg` sends <a href="index.html#syntax-job-control">jobs</a> to the background, resuming them if they are stopped. A background job is executed simultaneously with fish, and does not have access to the keyboard. If no job is specified, the last job to be used is put in the background. If PID is specified, the jobs with the specified process group IDs are put in the background.
|
|
|
|
The PID of the desired process is usually found by using <a href="index.html#expand-process">process expansion</a>.
|
|
|
|
|
|
\subsection bg-example Example
|
|
|
|
`bg %1` will put the job with job ID 1 in the background.
|