VTU Developer

Your comprehensive resource for Unix System Programming - BCS515C

Unix System Programming

Complete Study Materials & Resources

BCS515C
Subject Code
03
Credits
50
CIE Marks
50
SEE Marks
100
Total Marks
03
Exam Hours

Module 1

Unix Introduction & File System

Introduction: Unix Components/Architecture. Features of Unix. The UNIX Environment and UNIX Structure, Posix and Single Unix specification. General features of Unix commands/command structure. Command arguments and options. Basic Unix commands such as echo, printf, ls, who, date, passwd, cal, Combining commands. Unix files: Naming files. Basic file types/categories. Organization of files. Hidden files. Standard directories. Parent-child relationship.

Text Book 1: Chapter 1-5

Module 2

File Permissions & Shell Programming

File attributes and permissions: The ls command with options. Changing file permissions: the relative and absolute permissions changing methods. Recursively changing file permissions. Directory permissions. The shells interpretive cycle: Wild cards. Removing the special meanings of wild cards. Three standard files and redirection. Shell programming: Ordinary and environment variables.

Text Book 1: Chapter 6, 8, 13, 14

Module 3

Unix Standardization & File I/O

Unix Standardization and Implementations: Introduction, Unix Standardization, UNIX System Implementation. File I/O: Introduction, File Description, open, create, read, write, close, fcntl functions. Files and Dictionaries: mkdir and rmdir functions, reading dictionaries, chdir, fchdir and getcwd functions. The Environment of a UNIX Process: Introduction, main function, Process Termination.

Text Book 2: Chapter 2, 3, 4, 7

Module 4

Process Control & IPC

Process Control: Introduction, Process Identifiers, fork, vfork, exit, wait, waitpid, wait3, wait4 Functions, Race Conditions, exec Functions. Overview of IPC Methods, Pipes, popen, pclose Functions, Coprocesses, FIFOs, System V IPC, Message Queues, Semaphores. Shared Memory, Client-Server Properties, Passing File Descriptors.

Text Book 2: Chapter 8, 15, 17

Module 5

Signals & Daemon Processes

Signals and Daemon Processes: Introduction, Signal Concepts, Signal Functions, SIGCLD Semantics, Kill and Raise functions, Alarm and Pause Functions, Signal Sets, sigprocmask Function, sigpending function, sigaction function, sigsetjmp and siglongjmp functions, sigsuspend function, abort function, system function. Daemon Processes: Introduction, Daemon Characteristics, Coding Rules.

Text Book 2: Chapter 10, 13

Additional Resources

Extra study materials to boost your exam preparation and understanding

Solved Model Questions

Complete solutions to model question papers that enhance problem-solving abilities and boost confidence for exams.

Exam Fix Questions

Targeted questions for final exam preparation with comprehensive coverage of all important topics.

Very Important Questions (VIMP)

Key questions that can make a significant difference in academic performance and boost confidence for exams.

Important Problems

Crucial problems for exam preparation, allowing students to focus on the most relevant content and effectively gauge their understanding.

Comments

Replay !

0 Comments

Share Your Thoughts

Please enter your name
Please enter a valid email
Password must be at least 6 characters
Please enter your comment
Email Verification Required
We've sent a 6-digit verification code to . Please enter the code below to verify your email address.
Email Verified Successfully!
Your email has been verified. Would you like to proceed with posting your comment?

Type "YES" to confirm and post your comment, or click Cancel to skip posting.

Preparing your download...