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

Unix Lab Manual

The UNIX Programming Lab Manual outlines ten experiments focused on various aspects of UNIX programming. Key topics include basic commands, shell scripting, process management, file handling, signal handling, inter-process communication (IPC) using pipes and message queues, shared memory, socket programming, and multithreading. Each experiment provides practical exercises to enhance understanding of UNIX system functionalities.

Uploaded by

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

Unix Lab Manual

The UNIX Programming Lab Manual outlines ten experiments focused on various aspects of UNIX programming. Key topics include basic commands, shell scripting, process management, file handling, signal handling, inter-process communication (IPC) using pipes and message queues, shared memory, socket programming, and multithreading. Each experiment provides practical exercises to enhance understanding of UNIX system functionalities.

Uploaded by

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

UNIX Programming Lab Manual

Experiment 1: Basic UNIX Commands

Study and execute basic commands like ls, pwd, cd, mkdir, rm.

Experiment 2: Shell Programming

Write shell scripts using variables, loops, and conditions.

Experiment 3: Process Management

Create processes using fork(), exec() and study zombie/orphan processes.

Experiment 4: File Handling

Use system calls open(), read(), write(), close() for file operations.

Experiment 5: Signal Handling

Implement signal handling using signal() and kill().

Experiment 6: Pipes

Implement IPC using pipe() and popen().

Experiment 7: Message Queues

Use msgget(), msgsnd(), msgrcv() for IPC.

Experiment 8: Shared Memory

Use shmget(), shmat() for shared memory communication.


Experiment 9: Socket Programming

Implement TCP client-server communication.

Experiment 10: Multithreading

Create threads using pthread_create().

You might also like