aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc_src/bg.txt
blob: dc607b06414e2d66ea23c3e07fdb898d1fb98252 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
\section bg bg - send to background

\subsection bg-synopsis Synopsis
<tt>bg [PID...]</tt>

\subsection bg-description Description
Sends the specified jobs to the background. 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 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

<tt>bg \%0</tt> will put the job with job id 0 in the background.