Results 1 to 2 of 2

Thread: Unix Parent and child process Shell scripting

  1. #1
    Junior Member
    Join Date
    Dec 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Thumbs down Unix Parent and child process Shell scripting

    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.

  2. #2
    Member Shell_Life's Avatar
    Join Date
    May 2011
    Location
    Bahia, Brazil
    Posts
    99
    Thanks
    0
    Thanked 11 Times in 11 Posts
    Rep Power
    5

    Default

    Is this a homework?

    If so, please specify school, class and professor name.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [Solved] Unix / Linux shell scripting extract command for .tar.gz file
    By aish in forum Shell scripting
    Replies: 1
    Last Post: 16th September 2011, 01:28 PM
  2. Unix shell scripting in OpenSolaris
    By gsb1bee in forum Linux software
    Replies: 1
    Last Post: 17th February 2010, 08:44 PM
  3. Sending signal from child to parent process!
    By thierryhenry in forum Linux software
    Replies: 0
    Last Post: 6th November 2009, 01:52 AM
  4. child process input/output error & other issues
    By 77yrold in forum Ubuntu / Debian
    Replies: 3
    Last Post: 14th September 2009, 07:33 AM
  5. UNIX Shell Scripting Books
    By chimu in forum Shell scripting
    Replies: 5
    Last Post: 8th July 2009, 11:59 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •