Multiple choice technology operating systems

How to display all the process sent to background by user?

  1. fg

  2. jobs

  3. ps -backgound

  4. front

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

The 'jobs' command displays all background and suspended jobs in the current shell session. Option A 'fg' brings a background job to foreground, option C 'ps -backgound' is invalid (should be 'ps'), and option D 'front' is not a standard command.

AI explanation

The Unix/Linux jobs command lists all jobs started from the current shell that are running (or stopped) in the background, along with their job numbers and status. fg does the opposite — brings a background job to the foreground. ps -backgound isn't valid ps syntax, and front isn't a real command. So jobs is correct.