Services and User Management
The jobs command in a user's shell shows: [1]- Running ./sync.sh & and [2]+ Stopped ./report.sh. The user wants report.sh to continue running while still using the shell for other work. Which command does this?
Show the answer
Correct answerA. bg %2
bg %2 resumes the stopped job number 2 in the background, so the prompt stays available. fg %2 would also resume it but in the foreground, which would tie up the terminal.