13,420
edits
Changes
→INVESTIGATION 2: MANAGING PROCESSES
#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 should have been '''logged off ''' of your Matrix session!<br><br>
:In the next investigation, you will learn how to create aliases and view command history on your Matrix server.<br><br>