Linux Lab Practice Internal Examination: Branch: Cse Max. Marks: 25 TIME: 3hrs
Linux Lab Practice Internal Examination: Branch: Cse Max. Marks: 25 TIME: 3hrs
Linux Lab Practice Internal Examination: Branch: Cse Max. Marks: 25 TIME: 3hrs
INTERNAL EXAMINATION
BRANCH: CSE
MAX. MARKS: 25
TIME: 3hrs
1.Explain with of unix/linux general purpose utility command list man, cat, cd, cp, ps, ls, mv, rm,
mkdir, rmdir, echo, more, date, time, kill, history, chmod, chown, finger, pwd, cal, logout, stutdown.
2. write a c program that makes a copy of a file using standard I/O and system calls.
3. write a c program to emulate the UNIX ls-l command.
4. write a c program that illustrate how to execute two commands concurrently with a command
pipe. Ex:ls-i|sort.
5. write a c program that illustrate two processes communicating using shared memory.
6. write a c program to simulate producer and consumer problems using semaphores.
7. write a c program to create a thread using pthread library and let it run its function.
8. write a c program to illustarate concurrent execution of threads using pthreads library.