Back to the command reference

bg

ProcessesFundamentals In real Linux

Resume a stopped job in the background

Name: bg = background

This command needs a real Linux system; you can practise it in real Linux mode.

Description

bg is a shell builtin that resumes a stopped job (usually after Ctrl+Z) in the background, as if it had been started with &.

Syntax

bg [%JOB]

Common options

%NJob number

Examples

  • $ bg %1

    After Ctrl+Z, continue job 1 in the background

    Explain

Related