CS 141 Homework Assignment #11
In class graded exercise
boot knoppix
make sure you can access the class web site
(see instructor if not)
create a dir where you will do this project
(This directory must be under knoppix, not in our class system
which does not support all the languages that knoppix/linux
supports.)
mkdir hmwk11
cd hmwk11
ftp unix01.sac.edu
cd /classes/s2008spr/data/testfiles
binary
get progs.tgz
quit
ls -l progs.tgz
the size should be 1224 bytes
extract the files from the tar ball
tar xvzf progs.tgz
ls -l
we will now work with 7 programming languages
commonly available under unix/linux
4 are scripts
perl, shell, python, expect
3 must be compiled
C, C++, java
each program contains comments that tell you how
to run the program.
./tst.sh # shell
./tst.pl # perl
./tst.py # python
./tst.exp # expect
tst.c # C program source file
tst.cpp # C++ program source file
tst.java # java program source
to get credit for this homework
1. make sure you know how to run all 7 programs
2. show the instructor an md5 sum of the java class file
created by the java compiler
3. run programs as requested by the instructor