Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
95 views

Linux Lab Practice Internal Examination: Branch: Cse Max. Marks: 25 TIME: 3hrs

This document provides instructions for a Linux lab practice internal examination for a Computer Science branch. The exam is worth a maximum of 25 marks and lasts 3 hours. It includes tasks to write C programs that emulate common Linux commands like ls -l, demonstrate piping commands together, illustrate inter-process communication using shared memory and semaphores, and create and run threads using pthreads.

Uploaded by

Vasu deva rao
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
95 views

Linux Lab Practice Internal Examination: Branch: Cse Max. Marks: 25 TIME: 3hrs

This document provides instructions for a Linux lab practice internal examination for a Computer Science branch. The exam is worth a maximum of 25 marks and lasts 3 hours. It includes tasks to write C programs that emulate common Linux commands like ls -l, demonstrate piping commands together, illustrate inter-process communication using shared memory and semaphores, and create and run threads using pthreads.

Uploaded by

Vasu deva rao
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 1

LINUX LAB PRACTICE

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.

You might also like