LINUX LAB

Paper Code: 
CBCA 602
Credits: 
3
Periods/week: 
6
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

CO 238 Explain the basic commands of Linux operating system and can write shell scripts.

CO 239 Apply I/O redirection.

CO 240 Demonstrate the concepts of pipes and filters in Linux

CO 241 Discuss the concept of shell parameters and variables.

CO 242 Execute shell scripts having decision controls and looping constructs.

CO 243 Debug, execute multiple scripts and advance shell programming.

Approach in teaching:

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

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.

 

 

 

 

 

 

Academic Year: