17CS35 – UNIX Shell Programming Notes
Here you can download the Module wise notes of UNIX Shell Programming of 3rd-semester computer science and engineering.
Module 1 – Introduction UNIX Shell Programming
Contents of Module 1 notes are,
What is an operating system? UNIX operating system and its architecture.
Files, Process, and features of the UNIX Operating System.
UNIX Command structure and the difference between Internal and external commands.
The flexibility of usage of UNIX commands and man command with its options.
Module 2 – UNIX File System
Types of files in UNIX rules to define a filename and parent-child relationship.
HOME variable, directory commands such as cd, pwd, mkdir, rmdir, cp, mv, rm.
The absolute and relative pathname, File attributes, changing file permissions.
Module 3 – VI editor and Shell Interpretive cycle
Basics of vi editor, The .exrc file, and different ways of invoking and quitting vi.
Different modes of vi editor, Input mode commands, Command mode commands, and the ex-mode commands.
Illustrative examples of Navigation commands, the repeat command, Pattern searching command.
The set, map, and abbr commands, simple examples using these commands.
The shells interpretive cycle, Wildcards and filename generation, removing the special meanings of wild cards.
Three standard files and redirection.
Connecting commands: Pipe, Splitting the output using a tee command. Command substitution.
Basic and Extended regular expressions, grep command, typical examples involving different regular expressions.
Module 4 – VI editor and Shell Programming, File Inodes and Filters
A basic structure of Shell Script, Reading input from standard input that is the keyboard.
The special variable in shell programming and reading variables from command line arguments.
Exit status, conditional statements, and looping statements in a shell programming language.
Evaluating expressions using expr command and using test command, Simple shell programs.
Inode number, Hard and soft links, filter commands such as head, tail, sort, cut, paste.
Module 5 – Processes and Perl Scripting
A basic structure of PerlScript, Reading input from standard input that is the keyboard.
Variables, Operators, conditional statements and looping statements in Perl scripting.
Arrays, associative arrays, inbuilt functions, File handling in Perl.
Click the below link to download complete notes 17CS35 – UNIX Shell Programming
If you like VTU CBCS notes, question papers, various study material, such placement papers, campus interview, and aptitude preparation, and for regular updates do like the Facebook page and subscribe to our YouTube channel for video tutorials.