0% found this document useful (0 votes)
3 views2 pages

Child Process Creation with Fork and Exec

The document outlines a lab task that involves creating a child process using fork in the parent process and using exec in the child process to show the contents of a directory specified by the user, remove a file specified by the user, and open a file in the gedit editor. The document also states that the task submission is due on the general share by 12:30 PM on March 18, 2013.

Uploaded by

Zain Khilji
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views2 pages

Child Process Creation with Fork and Exec

The document outlines a lab task that involves creating a child process using fork in the parent process and using exec in the child process to show the contents of a directory specified by the user, remove a file specified by the user, and open a file in the gedit editor. The document also states that the task submission is due on the general share by 12:30 PM on March 18, 2013.

Uploaded by

Zain Khilji
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd

Lab Task

Create a child process using fork, in child


process use exec command to:
Show content of directory desired by user. e.g:
ls /usr
Remove file specified by user rm [Link]
Open any file specified by user in gedit

Submission
Submission on General share by tomorrow (18 March,
2013) 12:30 PM.

You might also like