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 predefined set of formats that can be applied text, a paragraph, a table cell, or a list is a ________

A) prototype B) font C) style D) template

Computer Science & Information Technology

A(n) ________ holds content, such as a title, subtitle, or an image

Fill in the blank(s) with correct word

Computer Science & Information Technology

Each code snippet consists of a complete programming task.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

For any fields that require numeric values, you can use JavaScript's built-in ____ function to determine whether a user actually entered a number.

A. ?submit() B. ?reset() C. ?validate() D. ?isNaN()

Computer Science & Information Technology