The UNIX and Linux Forums  


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




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #3 (permalink)  
Old 03-19-2006
amro1 amro1 is offline
Registered User
  
 

Join Date: Mar 2006
Posts: 105
child proc.

all child processes are created in two steps:
1. system creates the exact copy of parent process (by fork)
2. the code of the parent process is substituted within a code of the child process.

as a consequence the child process inherits all the environment of the parent process (all the system variables , viewable with "env" command). This scheme is universal for all versions of unix/linux.
Get "UNIX Essentials and UNIX Core" DVD course if you have questions like that.