COS 231 Introduction To UNIX - FINAL PROJECT
COS 231 Introduction To UNIX - FINAL PROJECT
1. Description:
This project purpose is to help all students who have taken COS231 and the
students who will take this course in the future. It is a project containing a welcome
message for each particular student, a short description of the course, a counter that
counts months, days, hours, minutes, seconds until the semester ends, a short description
of the activities of that week and a menu where students can access the syllabus of the
course, the lecture notes, the course project and the exams. The project contains 23 files
and it is made in shell programming.
The program can be used in COS231 – Introduction to Unix class and it can be used for a
personal documentation about UNIX Operating System.
3. Output Samples
4. Source code
clear
name=`whoami |cut -c 8-14`
echo "****** - - - Welcome $name to COS231 - - - *******"
echo
echo " "An introduction to the UNIX operating system from the user.s
point of view. Covers the basic structure of UNIX, the basic set of commands, file
syste m, editors, utilities and shell programming. 3 Cr.
echo " "This is a practical, hands-on course that teaches the
fundamentals of the UNIX operating system concepts, architecture and
administration. These concepts are taught using Linux, a free, PC-compatible
UNIX clone that is an ideal teaching tool for many basic and advanced UNIX
commands.
echo
day=`date '+%d'`
day2=`date '+%j'`
month=`date '+%m'`
hour=`date '+%H'`
minutes=`date '+%M'`
seconds=`date '+%S'`
echo
if [ $month = 04 ] && [ $day '>' 06 ] && [ $day '<' 14 ]
then
news=`echo Wednesday April 09 deadline for regxp/awk take-home quiz.`
fi
echo
echo Please select your choice:
echo
do
clear
do
cd Course_Project
clear
case $REPLY in
1) clear; more $fname2; clear;;
2) clear; more $fname2; clear;;
3) clear; break;;
esac
done
cd ..
fi
if [ "$fname" = "Exams" ]
then
echo You picked Exams
echo
select fname3 in "Midterm_Preparation" "Rules_Final_Exam" Back
do
cd Exams/
clear
case $REPLY in
1) clear; more $fname3; clear ;;
2) clear; more $fname3; clear ;;
3) clear; break;;
esac
if [ "$fname" = "Syllabus" ]
then
echo You picked Syllabus
echo
select fname4 in "Syllabus" Back
do
cd Syllabus/
clear
case $REPLY in
1) clear; more $fname4; clear ;;
2) clear; break;;
esac
do
cd Lecture_Notes/
clear
case $REPLY in
1)clear; more $fname5; clear;;
2)clear; more $fname5; clear;;
3)clear; more $fname5; clear;;
4)clear; more $fname5; clear;;
5)clear; more $fname5; clear;;
6)clear; more $fname5; clear;;
7)clear; more $fname5; clear;;
8)clear; more $fname5; clear;;
9)clear; more $fname5; clear;;
10)clear; more $fname5; clear;;
11)clear; more $fname5; clear;;
12)clear; more $fname5; clear;;
13)clear; more $fname5; clear;;
14)clear; more $fname5; clear;;
15)clear; more $fname5; clear;;
16)clear; more $fname5; clear;;
17)clear; more $fname5; clear;;
18)clear; break;;
esac
done
cd ..
fi
done