HEAD
PROGRAMME: B.E. Information Technology, VI Semester
CATEGORY OF COURSE | COURSE TITLE | COURSE CODE | CREDIT-6C | THEORY PAPER DC | ||
Departmentak Course DC-13 | Unix And Shell Programming | IT- 601 | L | T | p | Max.Marks- I 00 Min.Marks-JS Duration-Jim.. |
J | I | 2 |
Branch:- Information Technology
UNIT-I
General Overview of the System: System structure, user perspective, O/S services assumption about Hardware The Kernel and buffer cache architecture of Uni" 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 inodc. Super block. Inode assignment to a new file. Allocation of disk blocks. 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 unmounring files system, Link Unlink
UNIT-lll
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. Killing process with signals. job control. scheduling commands: AT and BATCH. flME.CORN.
Introduction to shell scripts: shell Bourne shell, C shell, Unix commands, permissions, editors, grep family, shell variables, scripts, metacharacters and environment, if and case statements, for while and until loops. Shell programming.
Introduction of Awk and per! Programming: /\wk panern scanning, BEGIN and END panerns. Awk arithmetic and variables, and operators, func,ions, perl; the chop() function, variable and operators.Networking tools:Resolving IP addressing, TELNET, FTP. Socket programming. introduction of Linux structure .
I. M.J. Bach ··Design of UNIX O.S. ••. PHI Learning
Y.Kanetkar "Unix shell programming.., BPB Pub.
B.W. Kernighan & R. Pike, ..The UNIX Programming Environment'', PlII Learning
S.Prata ..Advanced UNIX: A Programming's Guide", BPB Publications, New Delhi.
Beck ..Linux Kernel. Pearson Education, Asta.
Sumitabha Das·· Unix concepts and Applications".'! ata McGraw Hill.Second Edition,2001
Suggested list of experiments
Installation of Unix/Linux
'
I .Study about the General Purpose utilities
a) Banner b)cal c)date d)calender e)tty l)bc
g) spell & fspell
2.lmplemcnt WE Command in C 3.lmplement Grep command in C 4.lmplement More command in C 5.lmplement Lin!-.. & Unlink in C 6.lmplement LS command in C
Study about the Unix system variables
Write the program to find biggest among 3 numbers using shell
Write a shell program to find factorial
I 0.Write a shell program to check the given string is Palindrome (or) not I I.Write a shell program to check whether the user is logged (or) not
Write a shell program to v..ish the user those "' ho login to the system
Write your own profile
Write a shell program to find the biggest among numbers using positional parameters
Write a shell program to sort the strings using arrays
PROGRAMME: B.E. Information Technology, VI Semester
CATEGORY OF COURSE | COURSE TITLE | COURSE CODE | CREDIT-6C | THEORY PAPER DC | ||
Departmentak Course DC-13 | Unix And Shell Programming | IT- 601 | L | T | p | Max.Marks- I 00 Min.Marks-JS Duration-Jim.. |
J | I | 2 |
Branch:- Information Technology
UNIT-I
General Overview of the System: System structure, user perspective, O/S services assumption about Hardware The Kernel and buffer cache architecture of Uni" 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 inodc. Super block. Inode assignment to a new file. Allocation of disk blocks. 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 unmounring files system, Link Unlink
UNIT-lll
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. Killing process with signals. job control. scheduling commands: AT and BATCH. flME.CORN.
Introduction to shell scripts: shell Bourne shell, C shell, Unix commands, permissions, editors, grep family, shell variables, scripts, metacharacters and environment, if and case statements, for while and until loops. Shell programming.
Introduction of Awk and per! Programming: /\wk panern scanning, BEGIN and END panerns. Awk arithmetic and variables, and operators, func,ions, perl; the chop() function, variable and operators.Networking tools:Resolving IP addressing, TELNET, FTP. Socket programming. introduction of Linux structure .
I. M.J. Bach ··Design of UNIX O.S. ••. PHI Learning
Y.Kanetkar "Unix shell programming.., BPB Pub.
B.W. Kernighan & R. Pike, ..The UNIX Programming Environment'', PlII Learning
S.Prata ..Advanced UNIX: A Programming's Guide", BPB Publications, New Delhi.
Beck ..Linux Kernel. Pearson Education, Asta.
Sumitabha Das·· Unix concepts and Applications".'! ata McGraw Hill.Second Edition,2001
Suggested list of experiments
Installation of Unix/Linux
'
I .Study about the General Purpose utilities
a) Banner b)cal c)date d)calender e)tty l)bc
g) spell & fspell
2.lmplemcnt WE Command in C 3.lmplement Grep command in C 4.lmplement More command in C 5.lmplement Lin!-.. & Unlink in C 6.lmplement LS command in C
Study about the Unix system variables
Write the program to find biggest among 3 numbers using shell
Write a shell program to find factorial
I 0.Write a shell program to check the given string is Palindrome (or) not I I.Write a shell program to check whether the user is logged (or) not
Write a shell program to v..ish the user those "' ho login to the system
Write your own profile
Write a shell program to find the biggest among numbers using positional parameters
Write a shell program to sort the strings using arrays