Question: Linux+ Guide to Linux Certification Project 9-2 In this hands-on project, you use kill signals to terminate processes on your system. 1. On your Fedora

Linux+ Guide to Linux Certification Project 9-2

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

1. On your Fedora Linux virtual machine, 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 LNXrocks!.

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 Question 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 Question 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 Question 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 Question 2) and press Enter. Did your shell terminate? Why did this command work when the others did not?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!