Send a job to background

      bg [job_id...]

Send 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.

bg takes a “job ID” available from jobs, not a PID.

If jobspec is not present, the shell’s notion of the current job is used.

This is a BASH shell builtin, to display your local syntax from the bash prompt type: help bg


Put the job with job id 0 in the background:

$ bg %0

To start a new process in the background you can do:

$ long_running_command &

Related linux commands:

fg – Send job to foreground
jobs – List active jobs
suspend – Suspend execution of this shell
wait – Wait for a process to complete

Te ayudó?