Sei sulla pagina 1di 1

PEC UNIVERSITY OF TECHNOLOGY, CHANDIGARH

Lab Assignment-II
Subject: IT 217(Pr) Operating System Lab
Class: B.E.(IT) 4
th
Sem
Submit by: Group -1: 11
th
Feb 2014, Group -2: 10
th
Feb 2014

Note: No evaluation after submission date.

1) Demonstrate the usage of pipes and filters in UNIX. Give at least 5 examples of each.
2) Explain and run following process related commands:
a. fork
b. exec
c. wait
d. exit
e. kill
f. getpid
g. brk
h. nice
i. sleep
j. trace
3) Explain and demonstrate the usage of following file related commands:
a. open
b. close
c. read
d. write
e. lseek
f. stat
g. sync


Note: Format for answers is same as described in assignment I.

Potrebbero piacerti anche