3rd Sem, B.E/B.Tech, CSE, Syllabus

Unix and Shell Programming Syllabus for VTU BE/B.Tech CBCS 2015-16

Unix and Shell Programming Syllabus for VTU BE/B.Tech Computer Science Engineering & Information Science Engineering third sem complete syllabus covered here. This will help you understand complete curriculum along with details such as exam marks and duration. The details are as follows.

Subject Code 15CS35 IA Marks 20
Number of Lecture Hours/Week 4 Exam Marks 80
Total Number of Lecture Hours 50 Exam Hours 3

CREDITS – 04

Course Objectives:
This course will enable students to:

  • Understand the UNIX Architecture, File systems and use of basic Commands.
  • Use of editors and Networking commands.
  • Understand Shell Programming and to write shell scripts.
  • Understand and analyze UNIX System calls, Process Creation, Control & Relationship.
Modules Teaching Hour Text book
Module -1                                                                                                                                                      _
Introduction, Brief history. Unix Components/Architecture. Features of Unix. The UNIX Environment and UNIX Structure, Posix and Single Unix specification. The login prompt. General features of Unix commands/ command structure. Command arguments and options. Understanding of some basic commands such as echo, printf, ls, who, date, passwd, cal, Combining commands. Meaning of Internal and external commands. The type command: knowing the type of a command and locating it. The man command knowing more about Unix commands and using Unix online manual pages. The man with keyword option and whatis. The more command and using it with other commands. Knowing the user terminal, displaying its characteristics and setting characteristics. Managing the nonuniform behaviour of terminals and keyboards. The root login. Becoming the super user: su command. The /etc/passwd and /etc/shadow files. Commands to add, modify and delete users. 10 Hours Topics from chapter 2 , 3 and 15 of text book 1,chapter 1 from text book 2
Module -2 _

Download iStudy App (No Ads, No PDFs) for complete VTU syllabus, results, timetables and all other updates.

10 Hours Topics from chapters 4, 5 and 6 of text book 1
Module -3 _
The vi editor. Basics. The .exrc file. Different ways of invoking and quitting vi. Different modes of vi. Input mode commands. Command mode commands. The ex mode commands. Illustrative examples Navigation commands. Repeat command. Pattern searching. The search and replace command. The set, map and abbr commands. Simple examples using these commands. The shells interpretive cycle. Wild cards and file name generation. Removing the special meanings of wild cards. Three standard files and redirection. Connecting commands: Pipe. Splitting the output: tee. Command substitution. Basic and Extended regular expressions. The grep, egrep. Typical examples involving different regular expressions. 10 Hours Topics from chapters 7, 8 and 13 of text book 1. Topics from chapter 2 and 9 ,10 of text book 2
Module -4 _
Shell programming. Ordinary and environment variables. The .profile. Read and readonly commands. Command line arguments. exit and exit status of a command. Logical operators for conditional execution. The test command and its shortcut. The if, while, for and case control statements. The set and shift commands and handling positional parameters. The here ( << ) document and trap command. Simple shell program examples. File inodes and the inode structure. File links – hard and soft links. Filters. Head and tail commands. Cut and paste commands. The sort command and its usage with different options. The umask and default file permissions. Two special files /dev/null and /dev/tty. 10 Hours Textbook 1: Ch 2: 2.1, Ch 6: 6.1 to 6.7
Module -5 _
Meaning of a process. Mechanism of process creation. Parent and child process. The ps command with its options. Executing a command at a specified point of time: at command. Executing a command periodically: cron command and the crontab file.. Signals. The nice and nohup commands. Background processes. The bg and fg command. The kill command. The find command with illustrative example. Structure of a perl script. Running a perl script. Variables and operators. String handling functions. Default variables – $_ and $. – representing the current line and current line number. The range operator. Chop() and chomp() functions. Lists and arrays. The @- variable. The splice operator, push(), pop(), split() and join(). File handles and handling file – using open(), close() and die () functions.. Associative arrays – keys and value functions. Overview of decision making loop control structures – the foreach. Regular expressions – simple and multiple search patterns. The match and substitute operators. Defining and using subroutines. 10 Hours Topics from chapter 9 and 19 of text book 1. Topics from chapter 11 of reference book 1

Course outcomes: After studying this course, students will be able to:

  • Explain multi user OS UNIX and its basic features
  • Interpret UNIX Commands, Shell basics, and shell environments
  • Design and develop shell programming, communication, System calls and terminology.
  • Design and develop UNIX File I/O and UNIX Processes.
  • Perl script writing

Graduate Attributes (as per NBA)

  • Engineering Knowledge
  • Environment and Sustainability
  • Design/Development of Solutions

Question paper pattern:

  • The question paper will have ten questions.
  • There will be 2 questions from each module.
  • Each question will have questions covering all the topics under a module.
  • The students will have to answer 5 full questions, selecting one full question from each module.

Text Books:

  • Sumitabha Das., Unix Concepts and Applications., 4th Edition., Tata McGraw Hill
  • Behrouz A. Forouzan, Richard F. Gilberg : UNIX and Shell Programming- Cengage Learning – India Edition. 2009.

Reference Books:

  • M.G. Venkatesh Murthy: UNIX & Shell Programming, Pearson Education.
  • Richard Blum , Christine Bresnahan : Linux Command Line and Shell Scripting Bible, 2ndEdition , Wiley,2014.

For all other BE/B.Tech 3rd Sem Subject syllabus do follow VTU 3rd Sem BE / B.Tech Syllabus CBCS (2015-16) Scheme for Computer Science & Engineering/Information Science & Engineering Group.

For more information about all VTU updates please stay connected to us on FB and don’t hesitate to ask any questions in the comment.

Leave a Reply

Your email address will not be published. Required fields are marked *

*