Results 1 to 5 of 5
hey guys
please i need your help, im new in shell and i don't know how to solve this:
I need to write a script called ghoul that is difficult ...
- 05-03-2010 #1Just Joined!
- Join Date
- May 2010
- Posts
- 3
bash script problem
hey guys
please i need your help, im new in shell and i don't know how to solve this:
I need to write a script called ghoul that is difficult to KILL; when it recieves a SIGINT(control-c), it should ceate a copy of itself before dying.Thus every time a user tries to kill a GHOUL , another ghioul is created to tke its place! of course, ghoul can still be killed by a SIGKILL(-9)signal.
Thanx, XOXO
- 05-03-2010 #2Just Joined!
- Join Date
- May 2010
- Posts
- 3
heeeeelp!!!
- 05-03-2010 #3
google is quite a useful tool, first result for "bash signals"
Catching signals
- 05-03-2010 #4Just Joined!
- Join Date
- May 2010
- Posts
- 3
thanx for your help, but can anyone be more helpful
- 05-04-2010 #5
This is probably a homework question
http://www.linuxforums.org/forum/lin...ums-rules.html
And if by "be more helpful" you mean do the script for you, no one is going to do that, you need to do the work for yourself! tldp is great for this kind of thing, you can see examples and references


