Write a crafty script called ghoul that is difficult to kill; when it receives a SIGINT (from a Control-C), it should create a copy of itself before dying. Thus, every time an unwary user tries to kill a ghoul, another ghoul is created to take its place! Of course, ghoul can still be killed by a SIGKILL (-9) signal.
What will be an ideal response?
This script will use the trap built-in command to trap a SIGINT signal and start up a new copy of
itself before exiting.
Computer Science & Information Technology
You might also like to view...
A risk in using a ________ video is a potential problem with missing or broken links
Fill in the blank(s) with correct word
Computer Science & Information Technology
Designers are entitled to work on only fun and interesting projects
Indicate whether the statement is true or false
Computer Science & Information Technology