CSVTU, B.E. VI Semester, Computer Science Engineering,UNIX and SHELL Programming Syllabus

CHHATTISGARH SWAMI VIVEKANAND TECHNICAL UNIVERSITY, BHILAI (C.G.)

Semester –VI Branch-Computer Science & Engineering.

Subject: UNIX and SHELL Programming

UNIT – 1: INTRODUCTION :

Introduction to Multi user System, History of UNIX, Features & Benefits, Versions of UNIX,

Features of UNIX File System,, Commonly Used Commands like who, pwd, cd, mkdir, rm,

rmdir, ls, mv, ln, chmod, cp, grep, sed, awk ,tr, yacc etc. getting Started (Login/Logout)

Vi Editor:

 

Introduction to Text Processing, Command & edit Mode, Invoking vi, deleting &

inserting Line, Deleting & Replacing Character, Searching for Strings, Yanking, Running Shell

 

Command Macros, Set Window, Set Auto Indent, Set No.

 

UNIT-2 : INTRODUCTION TO SHELL SCRIPTS & AWK PROGRAMMING :

Bourne Shell, C Shell, Shell Variables, Scripts, Meta Characters and Environment, if and case

Statements, for, while and until loops.

Awk Pattern Scanning and Processing, begin and end Patterns, Awk Arithmetic and

Variables, built In functions and Operators, Arrays, Strings.

UNIT- 3 : GENERAL OVERVIEW OF THE SYSTEM :

System Structure, User Perspective, Operating System Services Assumption about

Hardware, The Kernel and Buffer Cache Architecture of UNIX Operating System, System

Concepts, Buffer Headers, Structure of the Buffer Pool, Scenarios for Retrieval of the Buffer,

Reading and Writing Disk Blocks, Advantages and Disadvantages of Buffer Cache.

UNIT- 4 : INTERNAL REPRESENTATION OF FILES .:

System Calls for the File System, INODES, Structure of Regular File, Directories,

Conversions of a Path, name to an INODE, Super Block, INODE Assignment to a New File,

Allocation of Disk Blocks. Open, Read, Write, File and Record Close, File Creation ,Creation

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 –5 : STRUCTURES OF PROCESSES AND PROCESS CONTROL

Process States and Transitions Layout of System Memory, The Context of a Process,

Manipulation of the Process Address Space, Sleep Process Creation/Termination, The User

ID of a Process, Changing the Size of a Process. The Shell. Case Study of Various LINUX

Versions.

Text Book

1. The Design of Unix Operating System,Maurice J. Bach, Pearson Education

2. Advance UNIX, a Programmer’s Guide, S. Prata, BPB Publications, New Delhi.

3. Unix Concepts and Applications, Sumitabh Das.

Reference Books :

1. The UNIX Programming Environment, B.W. Kernighan & R. Pike, Prentice Hall of

India.

2. Guide to UNIX Using LINUX, Jack Dent Tony Gaddis, Vikas/ Thomson Pub. House

Pvt. Ltd.

Leave a Comment