What do you know about a Unix process In UNIX there is a say
What do you know about a Unix process? In UNIX, there is a saying that says \"Everything is a File\". Can you think of reasons why people say that about UNIX? Consider the following C program. # include main () {int pid; pid - forkO;//fork 1 if(pid - 0) fork();//fork 2 else fork ();//fork 3 forkO;//fork 4 printf(\".\ \");} How many processes are created when you run the above program? Draw a graph that establishes the parent/child relationships among the processes. Each process should be represented by a node and a parent/child relationship by a directed edge from the parent to the child.
Solution
a)
