RGTU/RGPV MCA-502 UNIX & Shell Programming Syllabus
MCA 5th Sem UNIX & Shell Programming Syllabus
MCA 5th - Fifth Semester Syllabus
MCA-502 UNIX & Shell Programming Course Contents:
UNIT–I
General Overview of the System: System structure, user perspective, O/S services assumption about Hardware The Kernel and buffer cache architecture of Unix O/S, System concepts, Kernel data Structure, System administration, Buffer headers, Structure of the buffer pool, Scenarios for retrieval of the buffer, Reading and writing disk block, Advantage and disadvantage of buffer cache.
General Overview of the System: System structure, user perspective, O/S services assumption about Hardware The Kernel and buffer cache architecture of Unix O/S, System concepts, Kernel data Structure, System administration, Buffer headers, Structure of the buffer pool, Scenarios for retrieval of the buffer, Reading and writing disk block, Advantage and disadvantage of buffer cache.
UNIT–II
Internal Representation of Files: INODES, Structure of regular, Directories conversions of a path name to an inode, Super block, Inode assignment to a new file, Allocation of disk blocks.
System Calls for the System: Open read write file and record close, File creation, Operation of special files change directory and change root, change owner and change mode, STAT and FSTAT, PIPES Mounting and unmounting files system, Link Unlink.
UNIT–III
Structures of Processes and process control: Process states and transitions layout of system memory, the context of a process, manipulation of process address space, Sleep process creation/termination. The user Id of a process, changing the size of a process. The SHELL
Interprocess Communication and multiprocessor system: Process tracing system V IPO network communication sockets problem of multiprocessors systems, solution with master and hare process, and solution with semaphores.
UNIT-IV
Introduction to shell scripts: shell Bourne shell, C shell, Unix commands, permissions, editors, filters sed, grep family, shell variables, scripts, metacharacters and environment, if and case statements, for while and until loops. Shell programming.
UNIT-V
Awk and perl Programming: Awk pattern scanning and processing language, BEGIN and END patterns, Awk arithmetic and variables, Awk built in variable names and operators, arrays, strings, functions, perl; the chop() function, variable and operators, $_ and $. , Lists, arrays, regular expression and substitution, file handling, subroutines, formatted printing.
Linux: History & Features of Linux, Linux structure, various flavours of linux.
BOOKS
1. M.J. Bach “Design of UNIX O.S. “, Prentice Hall of India.
2. Y.Kanetkar “Unix shell programming”, BPB Pub.
3. B.W. Kernighan & R. Pike, “The UNIX Programming Environment”, Prentice Hall of India, 1995.
4. S. Prata “Advanced UNIX: A Programming's Guide”, BPB Publications, New Delhi.
5. Vikas/Thomsaon “Jack Dent Tony Gaddis “Guide to UNIX using LINUX” Pub. House Pvt. Ltd.
6. Linux complete, BPB Publications
7. Linux Kernel, Beck Pearson Education, Asia.
8. Sumitabha Das “ Unix concepts and Applications”.
Note : Paper is to be set unit wise with internal choice.