UTERMINAL
TERMINAL
NEXT
$V1$
NEXT3
$PROMPT$
PAUSE
PAGETURNER
ENCORE5
ENCORE
BOX
COMMAND
GO
kill
SYNTAX
kill [ - signo ] process ID ...
FUNCTION
Terminate active process(es) on the system.
kill sends a signal 15 (terminate) to the
specified process. This will normally kill
the process that did not catch or ignore the
signal. If a process ID is preceded with
the option -9 that will assure that the
specified process will definitely be killed!
Let us see the active processes on your
system by typing ps -aux at the prompt!
$PROMPT$
That is correct!
You've got it on the 2nd try.
Good, you understand the concept.
Please type ps -aux
Please type ps -aux
I will help you this time.
$PROMPT$
FORGET1
$PROMPT$ps -aux
Observe the result on the terminal!
PID TTY TIME COMMAND
0 ? 0:00 swapper
1 ? 0:01 init
24 co 0:02 sh
25 a1 0:00 getty
18 ? 0:09 cron
20 a3 0:14 wastegame
37 co 2:14 ps -aux
At this point you decide to kill process 20
on the system by typing the kill -9 20 command!
Try it now.
That is correct!
You've got it on the 2nd try.
Good, you understand the concept.
Please type kill -9 20
Please type kill -9 20
I will help you this time.
$PROMPT$
FORGET2
$PROMPT$kill -9 20
Observe the result on the terminal!
$PROMPT$
Finally, let us verify that the process
with process id (PID) 20 - wastegame was
indeed killed, by typing again ps -aux!
$PROMPT$
That is correct!
You've got it on the 2nd try.
Good, you understand the concept.
Please type ps -aux
Please type ps -aux
I will help you this time.
$PROMPT$
FORGET3
$PROMPT$ps -aux
Observe the result on the terminal!
PID TTY TIME COMMAND
0 ? 0:00 swapper
1 ? 0:01 init
24 co 0:02 sh
25 a1 0:00 getty
18 ? 0:09 cron
42 co 2:17 ps -aux
And indeed process 20 - wastegame is gone. Remember
however, that a user can always kill his own processes.
To kill someone else's process, one must be a superuser!