Lesson Plan

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

A J INSTITUTE OF ENGINEERING & TECHNOLOGY

(A unit of laxmi memorial education trust)


DEPARTMENT OF INFORMATION SCIENCE AND ENGINEERING

COURSE DELIVERY PLAN


Course Name: Unix and shell programming Course Code:15CS35
Semester: III Hours/week: 4
Scheme (w.e.f): Academic Year 2017-2018 Total lecture hours: 50

Hours Topic Reference Engaged Remarks


date
1. Module 1: Introduction, Brief history. T1
Unix Components/Architecture.
2. Features of Unix. The UNIX T2
environment and unix structure
3. Posix and Single unix Specification, The T1
login Prompt, General features of unix
commands/command structure.
4. Command arguments and options, T1
Understanding some of the basic
commands.
5. Combining commands, Meaning of T1 & T2
internal and external commands. The
type command: knowing the type of a
command and locating it
6. The man command knowing more about T1
unix commands and using Unix online
manual pages. The man with keyword
option and whatis.
7. The more command and using it with T1
other commands. Knowing the user
terminal, displaying its characteristics
and setting characteristics.
8. Managing the non-uniform behaviour of T1
terminals and keyboards. The root login.
9. Becoming the super user: su command. T1
The /etc/passwd and /etc/shadow files.
10. Commands to add, modify and delete T1
users.
11. Module 2: Unix files. Naming files. T1
Basic file types/categories.
12. Organization of files. Hidden files. T1
Standard directories. Parent child
relationship
13. The home directory and the HOME T1
variable. Reaching required files- the
PATH variable
14. manipulating the PATH, Relative and T1
absolute pathnames.
15. Directory commands – pwd, cd, mkdir, T1
rmdir commands.
16. . The dot (.) and double dots (..) T1
notations to represent present and parent
directories and their usage in relative
path names.
17. File related commands – cat, mv, rm, cp, T1
wc and od commands.
18. File attributes and permissions and T1
knowing them. The ls command with
options.
19. Changing file permissions: the relative T1
and absolute permissions changing
methods.
20. Recursively changing file permissions. T1
Directory permissions.
21. Module 3:The vi editor. Basics. The T1
.exrc file. Different ways of invoking and
quitting vi.
22. Different modes of vi. Input mode T1
commands.
23. Command mode commands. The ex T1
mode commands. Illustrative examples.
24. Navigation commands. Repeat T1
command.
25. Pattern searching. The search and replace T1
command. The set, map and abbr
commands.
26. Simple examples using these commands. T1
The shells interpretive cycle.
27. Wild cards and file name generation. T2
Removing the special meanings of wild
cards.
28. Three standard files and redirection. T2
Connecting commands: Pipe. Splitting
the output: tee.
29. Command substitution. Basic and T2
Extended regular expressions
30. The grep, egrep. Typical examples T2
involving different regular expressions
31. Module 4: Shell programming. Ordinary T1
and environment variables
32. The profile. Read and readonly T1
commands. Command line arguments.
33. exit and exit status of a command. T1
Logical operators for conditional
execution.
34. The test command and its shortcut. The T1
if, while, for and case control statements.
35. The set and shift commands and T1
handling positional parameters.
36. The here ( << ) document and trap T2
command. Simple shell program
examples.
37. File inodes and the inode structure. File T2
links – hard and soft links.
38. Filters. Head and tail commands. Cut and T2
paste commands.
39. The sort command and its usage with T2
different options. The umask and default
file permissions.
40. Two special files /dev/null and /dev/tty. T2
41. Module 5: Meaning of a process. T1
Mechanism of process creation. Parent
and child process. The ps command with
its options.
42. Executing a command at a specified T1
point of time: at command. Executing a
command periodically: cron command
and the crontab file..
43. Signals. The nice and nohup commands. T1
44. Background processes. The bg and fg T1
command. The kill command. The find
command with illustrative example.
45. Structure of a perl script. Running a perl T1
script. Variables and operators. String
handling functions
46. Default variables - $_ and $. – T1
representing the current line and current
line number.
47. . The range operator. Chop() and T1
chomp() functions. Lists and arrays. The
@- variable. The splice operator, push(),
pop(), split() and join().
48. File handles and handling file – using R1
open(), close() and die () functions..
Associative arrays – keys and value
functions.
49. Overview of decision making loop R1
control structures – the foreach. Regular
expressions – simple and multiple search
patterns
50. The match and substitute operators. R1
Defining and using subroutines.

Text Books:
T1. Sumitabha Das., Unix Concepts and Applications., 4th Edition., Tata McGraw Hill
T2. Behrouz A. Forouzan, Richard F. Gilberg : UNIX and Shell Programming- Cengage
Learning – India Edition. 2009.
Reference Books:
R1. M.G. Venkatesh Murthy: UNIX & Shell Programming, Pearson Education.
R2. Richard Blum , Christine Bresnahan : Linux Command Line and Shell Scripting Bible,
2ndEdition ,Wiley,2014.

INSTRUCTOR INFORMATION

Name: Vineetha Pais

Designation: Asst. Professor

Department: Information Science and Engineering

Academic Year: 2017 – 2018 (ODD SEMESTER)

You might also like