Changes

Jump to: navigation, search

Tutorial8: Links / Process Management

110 bytes added, 09:07, 5 February 2020
INVESTIGATION 2: MANAGING PROCESSES
# Issue the following Linux command to make a directory:<br><span style="color:blue;font-family:courier;font-weight:bold">mkdir ~/processes</span><br><br>
# Issue the following Linux command: <span style="color:blue;font-family:courier;font-weight:bold">sleep 200</span><br><br>'''NOTE:''' The sleep command just waits for a specified number of seconds before completing<br>in order to return to the shell prompt. It is useful in order to force a pause in a sequence of commands.<br><br>
# Notice that this process will run for 200 seconds, and is forcing the user to wait until this process finishes.<br>A process that is running in the terminal is referred to as a '''foreground process'''.<br><br>The Unix/Linux system is designed to allow users to send preemptive signals to manage those processes.<br><br>
# Press the key combination: <span style="color:blue;font-family:courier;font-weight:bold">&lt;ctrl&gt;&lt;c&gt;</span><br><br>'''NOTE:''' The '''ctrl-c''' key combination sends '''SIGINT''' ('''Signal Interrupt''') to terminate a process that is running.
13,420
edits

Navigation menu