The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Parent child Relation !! using awk/sed ??? varungupta UNIX for Advanced & Expert Users 0 01-29-2008 02:24 PM
exiting a child without stopping the parent madpenguin Shell Programming and Scripting 5 09-19-2007 11:45 PM
Parent/Child Processes yoi2hot4ya Shell Programming and Scripting 2 05-31-2006 02:27 PM
kill parent and child larry UNIX for Dummies Questions & Answers 4 01-12-2003 12:18 AM
How hard can it be? ps child/parent velde046 Filesystems, Disks and Memory 2 05-25-2002 05:36 PM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 04-25-2002
xyyz xyyz is offline
Registered User
  
 

Join Date: Sep 2001
Posts: 114
what are parent and child processes all about?

I don't follow what these are...

this is what my text says...

"When a process is started, a duplicate of that process is created. This new process is called the child and the process that created it is called the parent. The child process then replaces the copy for the code the parent process created with the code the child process is supposted to execute."

The last sentance confuses me the most. Actually the entire thing confsues me. Why is a child process started anyways? Why does the parent process spawn a child process in the first place? And what's all this code copy stuff all about?

The next paragraph states...

"While the command is executing, the shell waits until the child process has completed. After is completes, the parent process terminates the child process, and a prompt is displated, ready for a new command"

Why does this happen? I guess it goes back to my confusion about why the child process is created in the first place.
 

Bookmarks

Tags
grep or

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 01:29 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0