explain the program in advanceunix?

view story

http://unix.stackexchange.com – I know the fork concept. I try to solve the problem. I do the one fork() process and the fork() process created the one parent and child. If I run the program and i put the arguments of the commands. The parent receive or take the name of the commands and the child will process the command and send to the results of the parent and then parent display the Result of the command. explain any example of the program? ./a.out ls parent : get command name - ls child : execute that command not display parent : display the command result file1 file2 file3 (Or (HowTos)