POS 420 Week 4 Summary Essay

Submitted By phraginolni1980
Words: 606
Pages: 3

This file of POS 420 Week 4 Summary includes: Describe a topic from the lecture, readings or other assignments about which you have gained an improved or corrected understanding from that which you had prior to starting this course. Pick a topic that you are still struggling to grasp and share what you find difficult about that topic.
Deadline: ( ), Computer Science - General Computer Science Open a terminal In the same folder as last week, create a new file called week4prog1[name].scr. Change the permissions on this new file to add the execute bit for user, group, and owner. Run the script below:

#!/bin/bash

echo "start of the program"

while [ $count -le 10 ]

do

echo "Loop #$count"

sleep 10

count=$[ count + 1 ]

done

echo "end of the program"

Modify the program to add a trap for SIGINT and display the message “I got SIGINT” when the program catches the signal SIGINT Modify the program to add a trap for SIGTERM and display the message “I got SIGTERM” when the program catches the signal SIGTERM Save the script and run the script, wait until the script is done with the execution Run the script, press Ctrl+C while the script is running. Check to see if you get the trap message “I got SIGINT”. Open a new terminal, run the script in one terminal. Use another terminal to find the process id of the script and kill the process with no option. . Check to see if you get the trap message “I got SIGTERM”. Find the process id of the script and kill the process with option -9 Spend all the time you can studying every day. The more time that you put into your education, the more you will get out of it. By getting the mindset of treating your education like a job, you can find a chance to be social while keeping a strong focus on academics. Excelling in college will reward you with a much beter care...

Find needed answers here - https://bitly.com/12CmGMp

Spend all the time you can studying every day. The more time that you put into your education, the more you will get out of it. By getting the mindset of treating your education like a job, you can find a chance to be social while keeping a strong focus on academics. Excelling in college will reward you with a much beter career and additional