LINUX LAB

Paper Code: 
CBCA 602
Credits: 
03
Periods/week: 
06
Max. Marks: 
100.00
Objective: 

The course will enable the students to

  1. Work with basic commands of Linux
  2. Compile and execute C programs in Linux/UNIX environment
  3. Implement various functionalities through shell scripting

Course Outcomes (COs):

Learning Outcome (at course level)

Learning and teaching strategies

Assessment Strategies

The students will:

CO 255.Explain the architecture of Linux operating system and the reason for open source.

CO 256.Execute basic commands of Linux to manage files and file system

CO 257.Demonstrate the concepts of redirection, pipes and filters in Linux.

CO 258.Discuss the concept of shell parameters and variables.

CO 259.Write, debug and execute and shell scripts having decision controls and looping constructs.

 

Approach in teaching:

Interactive Lectures, Discussion, Tutorials, Reading assignments, Demonstration,

Learning activities for the students: Self learning assignments, Effective questions, Simulation, Seminar presentation, Giving tasks.

Class test, Semester end examinations, Quiz, Solving problems in tutorials, Assignments, Presentation, Individual and group projects .

 

Exercises based on Linux commands and shell programming has to be done. Following categories of command are covered:

  • Linux GUI, Logging in, desktop environment, all internal and external commands.
  • Simple shell commands for basic operations (date, cal, who, tty, uname, passwd, bc, script, echo, logging out).
  • Using wild card characters
  • Linux File System: inode table, file types, concept of path: absolute and relative path.
  • File, directory creation and operations (open, close), listing files and directories commands.
  • Navigating file system- pwd, cd, mkdir, rmdir,ls, pr.
  • Handling ordinary files-cat, cp, mv, wc, rm, comm., cmp, diff.
  • Basic file attributes- file permissions, changing permissions.
  • Simple filters- head, tail, cut, paste, sort, uniq, tr.
  • Regular expression-Grep utility, Shell command line, redirection, pipeline, split output, tee.
  • Process- system processes, internal and external commands, background process, premature termination of process, process priorities, process scheduling-(at, batch), no hup command.
  • Types of Text editors, using vi editor, prompt character, correcting typing errors.
  • Basic shell programming (Interactive scripts, shell variables, environment variables, assigning values to variables).
  • Positional parameters, command line arguments.
  • Arithmetic in shell script, sleep, wait, exit, script termination.
  • Decision taking-if else, nested if, file tests, string tests, case control structure.
  • Loop control structure-while, for, IFS, break, continue, $* and $@.
  • Logical operators && and ||.
  • Executing script, debugging a script, executing multiple scripts.
  • Programs based on advanced shell programming.

 

 

ESSENTIAL READINGS: 

REFERENCES: 

Academic Year: