Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 1

UNIT-I: INTRODUCTION TO UNIX AND UTILITIES (9 periods)

General Review of the System: History of UNIX, Architecture of Unix, User Perspe
ctive. The Buffer Cache: Headers, Buffer Pool, Scenarios for Retrieval of
a Buffer, Reading and Writing Disk Blocks, Advantages and Disadvantages. Utiliti
es: General Purpose Utilities, File Handling Utilities, Security
by File Permissions, Process Utilities, Disk Utilities, Networking Commands.
UNIT-II: SHELL PROGRAMMING (8 periods)
Text Processing Utilities and Backup Utilities. Shell, Shell Responsibilities, T
ypes of Shell, Pipes and I/O Redirection, Shell as
a Programming Language, Shell Syntax: Variables, Conditions, Control Structures,
Functions, Commands, Command Execution,
Shell Scripts.
UNIT-III: FILE SYSTEM STRUCTURE AND SYSTEM CALLS (10 periods)
Introduction to Unix Fi le System, File Descriptors, Inode Representation, Super
Block, System Calls and Library Functions.
Low Level File Access: open, read, write, close, lseek, stat, fstat, lstat, ioct
l, umask, dup and dup2. The Standard I/O Library: fopen,
fread, fwrite, fclose, fflush, fseek, fgetc, fputc, fgets. Formatted Input and O
utput: printf, fprintf, sprint, scanf, fscanf, and sscanf. File and
Directory Maintenance: chmod, chown, unlink, link, symlink, mkdir, rmdir, chdir.
Scanning directories: opendir,readdir,telldir,seekdir,rewinddir,closedir.
UNIT-IV: PROCESS, SIGNALS AND FILE LOCKING (9 periods)
Process, Process Identifiers, Process Structure,Zombie Processes, Orphan Process
,fork, vfork, exit, wait, waitpid, exec, Signals
functions, Unreliable Signals, Interrupted System Calls, kill, raise, alarm, pau
se, abort, system, sleep Functions, Job Control Signals.
Data Management: Managing Memory: malloc, free, realloc, calloc, File Locking: C
reating Lock Files, Locking Regions, Use of Read and
Write with Locking, Competing Locks, Other Lock Commands-Advisory Locking,Mandat
ory Locking; Deadlocks.
UNIT-V: INTER-PROCESS COMMUNICATION AND SOCKETS (9 periods)
Pipe, Process Pipes, The Pipe Call, Parent and Child Processes, Named Pipes: FIF
Os, Semaphores: semget, semop, semctl, Message
Queues: msgget, msgsnd, msgrcv, msgctl, Shared Memory: shmget, shmat, shmdt, shm
ctl, IPC Status Commands. Socket, Socket
Connections - Socket Attributes, Socket Addresses, socket, connect, bind, listen
, accept, Socket Communications.
(Total periods: 45)
TEXT BOOKS:
1. Neil Matthew, Richard Stones, Beginning Linux Programming, Wiley Dreamtech, 200
4.
2. Maurice J. Bach, The Design of the Unix Operating System, Pearson Education, 20
02.
REFERENCE BOOKS:
1. Sumitabha Das, Your Unix The Ultimate Guide, TMH, 2007.
2. W. Richard. Stevens, Advanced Programming in the UNIX Environment, 2nd edition,
Pearson Education, 2005.

You might also like