UNIX PROGRAMMING VTU Module 2 (18CS56) Notes 5th Semester pdf, Module-2 (18CS56) UNIX PROGRAMMING VTU Notes Pdf Download
UNIX PROGRAMMING (Effective from the academic year 2018 -2019) SEMESTER – V |
||||
Course Code | 18CS56 | CIE Marks | 40 | |
Number of Contact Hours/Week | 2:2:0 | SEE Marks | 60 | |
Total Number of Contact Hours | 40 | Exam Hours | 03 |
Course Learning Objectives: This course (18CS56) will enable students to:
Interpret the features of UNIX and basic commands.
Demonstrate different UNIX files and permissions
Implement shell programs.
Explain UNIX process, IPC and signals
Module – 2 Contact
File attributes and permissions: The ls command with options. Changing file permissions:
the relative and absolute permissions changing methods. Recursively changing file
permissions. Directory permissions.
The shells interpretive cycle: Wild cards. Removing the special meanings of wild cards.
Three standard files and redirection. Connecting commands: Pipe. Basic and Extended
regular expressions. The grep, egrep. Typical examples involving different regular
expressions.
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.