Changes

Jump to: navigation, search

Tutorial8: Links / Process Management

381 bytes added, 09:22, 5 February 2020
INVESTIGATION 2: MANAGING PROCESSES
# You should now see output similar to what is displayed below:<br><span style="font-family:courier;font-weight:bold">[1]+ Stopped sleep 200</span><br><br>NOTE: This indicates that this process has been placed into the background. This is useful in order to "free-up" the terminal to run other commands.<br><br>
# Clear your bash shell terminal.<br><br>
# Issue the following Linux command: <span style="color:blue;font-family:courier;font-weight:bold">jobs</span><br><br>You should see the following output similar that was displayed above:<br><span style="font-family:courier;font-weight:bold">[1]+ Stopped sleep 200</span><br><br>This display indicates that this process (that is now in the background) has stopped. In other words, the sleep command is NOT counting-down to zero to terminate.<br><br>NOTE: You need to use the '''bg ''' command to run that process that was sent into the background.<br><br># Issue the following Linux command: <span style="color:blue;font-family:courier;font-weight:bold">bg</span><br><br>NOTE: You can use the bg command WITHOUT arguments to specify the most recent process that was placed into the background. From the '''jobs''' command, the process that has a plus sign "+" indicates the most recent process placed into the background.<br><br>
13,016
edits

Navigation menu