A parent process should create a child process which will execute system call command "ls"
and will create its child process. The newly created child process should execute system call command "cat" and create a child process. The newly created process should execute system call"whoami" and then terminate. Every parent process should wait for terminating its child process.
Solution :-Following program demostrate you how to create processes using fork() method and how to use system call to execute commands on shell terminal. Using simple wait() method parent wait for child execution till partent pause state. just try it out yourself/