Linux Lab LP
Linux Lab LP
Linux Lab LP
Recommended Text
Operating System - Linux, NUT Press, PHI Publisher, 2006 Edition
References
1. Introduction to Unix / Linux, Diaz , Thomson Learning 1Edn.
2. Unix - Shell Programming, Yeshwant Kanetkar, BPB Publishers
CIA Division:
LAB ASSESSMENT CRITERIA
INTERNALS
Regular Lab 5
Work/Performance
Mid Term Exam 10
Assignment 10
Viva 15
Record work 10
End Term Exam 50
TOTAL 100
SESSION 1-5:
1. Installing Linux OS - Logging in and out, Creating user accounts, Changing passwords, getting help
with MAN command
SESSION 6-10:
2. Basic Overview about the various commands - cal, chm, date, finger, groups, help, hostname, hwclock,
rwho, tzselect, uname,whatis, whoami, bash, bind, kill, nice, set, source, fc, echo, cd, file, find, his,
vdir, xargs, chgrp, In, mkdir, rmdir, safedelete, we, touch, compress, gpg, bunzip2, mcrypt, mount,
unmount, cksum, eqn, strfile, grep, fgrep, groff, troff, zcat, uniq, rev, awk, sed
SESSION 11-15:
SESSION 15-20:
7. Shell programming
19. Write a shell script to accept a C++ file and check for its existence and compile and execute the
file thru your script.
20. Write a shell script to accept a java file and check for its existence and compile and execute the
file thru your shell script
21. Write a shell script to accept a C file and check for its existence and compile and execute the file
thru your shell script.
22. Write a shell script to copy files, remove files, move files and create a file under a directory by
getting the choice of the user.
23. Write shell script to imitate the working of CP(COPY) command in Linux
24. Write shell script to imitate the working of LS(LIST) command in Linux
25. Write shell script to imitate the working of REMOVE(rm) command in Linux
26. Write shell script to imitate the working of grep command in Linux
27. Setup a cron job to echo Study Linux every 30 minutes, Monday to Friday.
28. Setup a script that displays the date and then a list of everyone who is logged on. Run your script
and make sure that it works. Setup cron to run the script you created on the first day of every
month at 08:02.
29. Setup a script called backup that echoes the message "You should backup now". Run your script
and make sure that it works. Setup cron to run the script to execute on the first day of every
month at 07:17.
30. Write a shell script to execute a command at a particular time.
SESSION 36-40: