Linux Lab

Paper Code: 
MCA 329
Credits: 
02
Periods/week: 
04
Max. Marks: 
100.00
Objective: 

 The course will enable the students to

  1. Recall major functions of OS and familiarize students with the Linux environment
  2. Work with basic commands of Linux
  3. Compile and execute C programs in Linux/UNIX environment
  4. Implement various functionalities through shell scripting
  5. Apply basics of Linux administration
  6. Construct basic OS mechanisms with shell programming

  Course Learning Outcomes (CLOs):

Learning Outcome (at course level)

Students will be able to:

Learning and teaching strategies

Assessment Strategies

  1. Understand installation & configuration of Linux operating system
  2. Understand interaction with Linux Operating System using CUI.
  3. Compilation and execution of C Programs on Linux Platform
  4. Develop shell scripts
  5. Understand system administration
  6. Construct basic OS mechanisms with shell programming

Approach in teaching:

Interactive Lab Sessions,

Modeling, Discussions, implementing enquiry based learning, student centered approach

 

Learning activities for the students:

Experiential Learning, Discussions, Lab Assignments

  • Lab Assignment
  • Programming test in Lab Sessions
  • Continuous Assessment
  • Semester end practical exam
  • Viva-voce

 

CONTENTS

List of Experiments:

  1. Basic Shell Commands
  2. Study of Unix/Linux general purpose utility command list obtained from (man, who,cat, cd, cp, ps, ls, mv, rm, mkdir, rmdir, echo, more, date, time, kill, history, chmod,chown, chgrp, finger, pwd, cal, logout, shutdown) commands.
  3. I/O Redirections
  4. Creating file using vi editor

C-Program:

  1. Write a C program to check whether the given string is palindrome or not using Command line substitution.
  2. Write a C program to emulate the UNIX ls-l command.
  3. Write a C program to check the given integer is prime or not.
  4. Write a C program to display Largest of three numbers.
  5. Write a C program to check whether the given number is Avogadro number or not.
  6. Write a C program to find the Factorial of a given number.
  7. Write a C program that accept two integers as its arguments and computes the value of first number raised to the power of second number.

Shell Programs:

  1. Write a shell script to display list of user currently logged in.
  2. Write a shell script to display “HELLO <USER_NAME>” on the welcome screen.
  3. Write a shell script to develop a scientific calculator.
  4. Write a shell Script to check whether the given number is even or odd.
  5. Shell script to search whether element is present is in the list or not.
  6. Write a shell script to generate a Fibonacci Series.
  7. File Operations
  8. Base Conversion
  9. Usage of cut and grep commands
  10. Usage of tail, head, pr, tr commands
  11. Usage of user defined functions

Administration and Networking:

  1. Installing Linux through bootable media/ through NFS
  2. Creating & Managing User Accounts
  3. Creating & Managing Groups
  4. Installation of RPM software and Zipping, tar
  5. Configuring LAN and Internet
  6. Assigning IP Address (Static & Dynamic)
  7. Configuring Yum
  8. Configuring Telnet Server, FTP Server, NFS Server
  9. Configuring SSH Server
  10. Configuring Squid Proxy Server
  11. Configuring Web Server
  12. Configuring DHCP Server
Academic Year: