Services and User Management

An administrator starts a long-running tar archive in the foreground of a terminal and needs the shell prompt back immediately, but the archive must keep running. Which sequence of actions achieves this?

Show the answer

Correct answerA. Press Ctrl+z, then run bg

Ctrl+z suspends the foreground job and returns the prompt, and bg resumes that stopped job in the background. Ctrl+c sends SIGINT and terminates the job, so there is nothing left for bg to resume.