Problem

In this hands-on project, you use kill signals to terminate processes on your system. 1...

In this hands-on project, you use kill signals to terminate processes on your system.

1. Switch to a command-line terminal (tty2) by pressing Ctrl+Alt+F2 and log in to the terminal using the user name of root and the password of secret.

2. At the command prompt, type ps –ef | grep bash and press Enter to view the BASH shells that are running in memory on your computer. Record the PID of the BASH shell running in your terminal (tty2): _______________.

3. At the command prompt, type kill –l and press Enter to list the available kill signals that you can send to a process.

4. At the command prompt, type kill -2 PID (where PID is the PID that you recorded in Step 2) and press Enter. Did your shell terminate?

5. At the command prompt, type kill -3 PID (where PID is the PID that you recorded in Step 2) and press Enter. Did your shell terminate?

6. At the command prompt, type kill -15 PID (where PID is the PID that you recorded in Step 2) and press Enter. Did your shell terminate?

7. At the command prompt, type kill -9 PID (where PID is the PID that you recorded in Step 2), and press Enter. Did your shell terminate? Why did this command work when the others did not?

Step-by-Step Solution

Request Professional Solution

Request Solution!

We need at least 10 more requests to produce the solution.

0 / 10 have requested this problem solution

The more requests, the faster the answer.

Request! (Login Required)


All students who have requested the solution will be notified once they are available.
Add your Solution
Textbook Solutions and Answers Search
Solutions For Problems in Chapter 9