13,420
edits
Changes
→INVESTIGATION 2: MANAGING PROCESSES
# Issue the following Linux command: <span style="color:blue;font-family:courier;font-weight:bold">ps</span><br><br>
#Note in the '''ps''' command output the PID of the process called '''bash'''.<br><br>You will be using that PID when issuing the <u>next</u> Linux command.<br><br>
# Issue the following Linux command (using the bash process' PID number instead of "PID"):<br><span style="color:blue;font-family:courier;font-weight:bold">kill PID</span><br><br>What did you notice? It did not work since you need to send a STRONGER signal (eg. '''SIGKILL''', not ''SIGTERM'').<br><br>
# Issue the following Linux command (using the bash process' PID number instead of "PID"):<br><span style="color:blue;font-family:courier;font-weight:bold">kill -9 PID</span><br><br>What did you notice? You have been logged off your Matrix session!<br><br>