11.1 (conspect) Processes
The file system looks like a tree that contains links and can store devices as well.
The command that controls the control characters is stty.
Pipes
There are descriptors, but no name.
You close the channel and that's it.
You can create a permanent channel.
If a son's father dies, he becomes an orphan.
Zombie-when a process thinks it's dead.
Exec
Exec is used to create inheritance, and it gets the environment of the process that generated it.
Fork
Fork - entirely generate a new process with a new indexer but contains all the same.
The same process is just a clone, but with Different IDs: one parent, another child, and all environment variables are doubled.
Changes to the child environment do not affect the parent environment in any way. Open files are inherited, so it gets a copy of the buffer with each write pointer
How can we distinguish them after starting a fork?
They differ in that the parent has a pid of the child, and the child 0. You can make Exec with a child.
The process started a dozen child processes and some have already stopped working and for this we call wait and it does not work, but sleeps, until something happens to the child.
Then it returns the pid of the child in which something happened to the information that happened, for decryption of which macros are used, which get the status.