mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-30 14:24:35 +08:00
18 lines
741 B
Plaintext
18 lines
741 B
Plaintext
\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.
|