CompTIA Linux+ XK0-005 Practice Question
An administrator has started a lengthy data analysis script in the foreground of their terminal. They now need to start another task but realize the script will take several more hours to complete. Which of the following commands should the administrator use to move the currently running script into the background so they can continue using the current terminal session?
Stop the script with
Ctrl+Z
and then move it to the background with thebg
command.Press
Ctrl+C
to move the running script to the background.Press
Ctrl+D
to send the script to the background and free up the terminal.Use the
jobs
command to automatically move the script to the background.