Syllabus

Course Code: MCA-20-22    Course Name: Linux and Shell Programming

MODULE NO / UNIT COURSE SYLLABUS CONTENTS OF MODULE NOTES
1 Introduction: History, Basic features, architecture, distributions. Installing Linux, Logging in / Logging out. File System: Introduction to files, Organization, Assessing File systems, Structure - boot block, super block, inode block, data block. Basic and Advanced Commands: Directory oriented commands, File oriented commands, File access permissions: chmod, umask, chgrp, groups. General purpose commands.
2 File management and Compression: Computer devices, Disk related commands: dd, du, df, dfspace, fdisk, compressing and uncompressing files.
Manipulating Processes and Signals: Basics, process states and transitions, zombie and orphan processes, process oriented commands. Handling foreground and background jobs. Process scheduling using cron, crontab, at, batch. Changing priority. Signal generation and Handling.
System calls: Files related system calls for opening, creating, reading, writing, relocating file descriptors, closing, duplicating file descriptors, linking, unlinking, accessing file status information, checking permissions, changing ownership, groups and permissions of files. Process related system calls: exec, fork, wait, exit.
3 System Administration: Booting and shutting down process. Creating, mounting and unmounting file systems. Managing User accounts: creating, modifying & deleting user accounts and groups.
Networking Tools: Communication oriented commands. ping, nslookup, telnet, arp, netstat, route, ftp, trivial file transfer protocol, finger, rlogin.
C language compiler, the make command and makefiles, general debugging techniques, debugging with gdb.
4 Pipes and filters: Connecting processes with pipes, redirecting input and output. Filters: sort, grep, egrep, fgrep, uniq, more, pr, cut, paste, tr.
Shell Programming: Shell meaning & types; Introduction to shell scripting, shell variables, exporting shell variables, Escape mechanisms, Shell meta characters, read command, conditional statements, looping and case statements, expr statement, command line arguments, sleep and basename commands, Bourne Shell Commands, string handling, arrays, shell functions, shell programs to automate system tasks.
Copyright © 2020 Kurukshetra University, Kurukshetra. All Rights Reserved.