Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Unix Parent and child process Shell scripting  (Read 4448 times)

0 Members and 1 Guest are viewing this topic.

nisarg24

    Topic Starter


    Starter

    • Experience: Beginner
    • OS: Unknown
    Unix Parent and child process Shell scripting
    « on: November 29, 2011, 09:11:09 PM »
    Write a parent process and child process  codes to satisfy the following conditions.

    Parent  executes child in background.
    Parent sends a signal 16 to child.
    As soon as child receives the signal,child will print parent's PID.
    Then child process will send a signal  to parent and then exits with exit status 5.
    As soon as parent receives  the signal from the child, parent will print child's PID
    and then exits with status 15.
    « Last Edit: November 29, 2011, 09:25:45 PM by nisarg24 »

    Salmon Trout

    • Guest
    Re: Unix Parent and child process Shell scripting
    « Reply #1 on: November 30, 2011, 12:18:16 AM »
    This is a BAD way to approach school work.


    Quantos



      Guru
    • Veni, Vidi, Vici
    • Thanked: 170
      • Yes
      • Yes
    • Computer: Specs
    • Experience: Guru
    • OS: Linux variant
    Re: Unix Parent and child process Shell scripting
    « Reply #2 on: December 06, 2011, 05:37:44 AM »
    As I mentioned previously - we won't do your homework for you.
    Evil is an exact science.