Oel - 01
Oel - 01
Nutech ID : F22605049
____________________________________________________________________________
Lab – 06
Lab Tasks:
Install .gcc compiler by following all the steps discuss in demo.
Make a file OEL.c?
2. Enhance your code and add fork() function and display parent and child process with
their id’s?
Output:
3. Now by using sleep() function, convert parent process into sleep for 20 second? When parent
process is
on sleep mode. Display all the active process of current shell?
Output :