Back close

Course Detail

Course Name Linux Programming
Course Code 26CSA681
Program M. C. A.
Credits 1
Campuses Amritapuri, Mysuru

Syllabus

Unit I

File and Directory Management 

  • Practice Linux file and directory management commands: ls, pwd, cd, mkdir, rmdir. 
  • Create, remove, and modify directories and verify the current working directory. 
  • Demonstrate file permissions using chmod and verify access rights. 
  • Practice file ownership operations using chown, lchown, and fchown. 
  • Create and manage hard links and soft links using link, symlink, and unlink. 
Unit II

General Purpose Linux Utilities 

  • Practice user and group management commands: useradd, groupadd, userdel, groupdel, passwd. 
  • Use system and session information commands: who, whoami, tty, uname, clear. 
  • Use text processing utilities: echo, printf, bc, ls. 
  • Practice input/output redirection and pipelines using <, >, >>, |. 
  • Perform text searching and editing using grep, sed, and awk. 
Unit III

Shell Programming (BASH) 

  • Write and execute a basic shell script and understand shell responsibilities. 
  • Demonstrate shell meta characters and file-name substitution. 
  • Use shell variables and command substitution in scripts. 
  • Implement control structures: if, case, for, while, until. 
  • Perform arithmetic operations using shell scripts. 
  • Demonstrate pipes, redirection, and here documents. 
  • Write shell scripts using test command and quoting mechanisms. 
  • Implement interrupt processing using signal handling (trap). 
  • Debug shell scripts using debugging options. 
Unit IV

Process Management & IPC 

  • Demonstrate process management commands: ps, top, kill, bg, fg. 
  • Implement pipes and named pipes (FIFOs) for inter-process communication. 
  • Write programs demonstrating synchronization and locking techniques. 
  • Implement shared memory based inter-process communication. 
  • Demonstrate socket programming for client–server communication. 

Objectives and Outcomes

Course Description 

This course deals with the basic Linux commands to the internal working of Linux operating system. Also gives insights to shell programming and other administration commands.

Course Objectives

It helps the students to learn utilities available in Linux for daily use to write scripts to manage and administer the system.

Course Outcomes

COs Description
CO1 Explain Linux commands and file/directory management commands.
CO2 Explain the general-purpose utilities available in Linux
CO3 Solve tasks using shell scripts
CO4 Describe the process management and synchronization techniques in Linux.

CO-PO Mapping

PO/PSO PO1 PO2 PO3 PO4 PO5 PO6 PO7 PO8
CO
CO1 2 1 1 1
CO2 2 1 2 2
CO3 3 2 1 2
CO4 3 2 1 2

Textbooks / References

  • Unix and Shell Programming, B.A.Forouzan&R.F.Gilberg,Cengage Learning
  • Linux System Programming, Robert Love, O’Reily, SPD.
  • Begining Linux Programming, 4th Edition, N. Matthew, R.Stones, Wrox, Wiley India Edition.

DISCLAIMER: The appearance of external links on this web site does not constitute endorsement by the School of Biotechnology/Amrita Vishwa Vidyapeetham or the information, products or services contained therein. For other than authorized activities, the Amrita Vishwa Vidyapeetham does not exercise any editorial control over the information you may find at these locations. These links are provided consistent with the stated purpose of this web site.

Admissions Apply Now