$
Learn Linux handbook
en
XP:0
Quest 66Backgrounder
+170 XP

Resuming Background Jobs (bg)

Launch Interactive Terminal for This Quest→No installation required • Runs fully in browser

Concept & Overview

We already saw how to start a task in the background using & and bring it back using fg. But what if you started a command without &, or suspended it with Ctrl+Z? You can resume it in the background using bg!

- The bg command resumes suspended jobs, allowing them to run in the background without blocking your terminal prompt.

Let's run a background job. Start sleep 200 & in the background, run jobs to list active jobs, and then run bg to ensure it resumes running.

Command Syntax Reference

Command / SyntaxDescription
sleep 200 &Start background process
jobsList active background jobs
bgResume background jobs

Verification Objectives

These conditions will be automatically verified when you run commands inside the interactive terminal simulator:

  • ○
    Start a sleep command with &
  • ○
    Run the "jobs" command
  • ○
    Run the "bg" command

Ready to complete Quest 66?

Test your skills live in the browser terminal with an emulated Linux filesystem, real-time command evaluation, and instant step-by-step hints.