Linux Lab (MOOC)

Paper Code: 
25CBCA502
Credits: 
03
Periods/week: 
03
Max. Marks: 
100.00
Objective: 

Course Objectives:

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: 

Course

Learning Outcome

(at course level)

Learning and teachingstrategies

Assessment

Strategies

Course

Code

Course

Title

25CBCA602

Linux Lab (MOOC) (Practical)

CO271. Examine the architecture of Linux operating system and the reason for open source.

CO272. Execute thebasic commands of Linux to manage files and file system

CO273. Formulate the problem to implement the concepts of redirection, pipes and filters in Linux.

CO274. Design scripts using shell parameters and variables.

CO275. Write, debug, and execute shellscripts having decision controls and looping constructs.

CO276. Contribute effectively in course- specific interaction.

Approach in teaching: InteractiveLectures,

Discussion, Tutorials, Readingassignments, Demonstration, Learning    activities For thestudents, guided personal work/study.

 

Learning activities for the students assignments, Effectivequestions, Simulation, Seminar presentation.

Class test, Semester end examinations, Quiz, Solving problems Assignments, Evaluation of self- learning MOOC Assignments, Individualand group projects and peer review.

 

Unit I: 

Exercises based on Linux commands and shell programming has to be done. Followingcategories 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), nohup 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: 

ESSENTIAL READINGS:

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

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

 

REFERENCES: 

SUGGESTED READINGS:

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

 

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

 

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: