LINUX LAB

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

Course Outcome (at course level)

Learning and teaching strategies

Assessment Strategies

The students will:

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

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

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

CO260. Discuss the concept of shell parameters and variables.

CO261. 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: 

1.      Mark G. Sobell, “A Practical Guide To Linux Commands, Editors and Shell Programming” Pearson Education.

2.      2. Sumitabha Das, “UNIX Concepts and Applications”, Tata McGraw Hill.

 

E-RESOURCES:

1.      https://www.linuxjournal.com/

2.      https://spoken-tutorial.org/tutorial-search/?search_foss=Linux&search_language=English

3.      https://www.javatpoint.com/linux-tutorial

4.      https://ubuntu.com/tutorials/command-line-for-beginners

 

REFERENCES:

1.      B. W. Kernighan & R. Pike, “The UNIX Programming Environment”, PHI.

 

JOURNALS:

1.      Journal of Operating Systems Development & Trends, ISSN: 2454-9355

2.      International Journal of Reconfigurable Computing, hindawi Journals. ISSN: 1687-7195 (Print)

           

 

 

Academic Year: