Linux Lab

Paper Code: 
MCA 329
Credits: 
02
Periods/week: 
04
Max. Marks: 
100.00
Objective: 
  • To familiarize students with the Linux environment
  • To help them to learn the fundamentals of shell scripting/programming
  • To familiarize students with Linux administration and Networking

 

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.

  1. I/O Redirections
  2. 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: