wget
and tar
to download
your starter code.
wget
to download the file at http://cs.longwood.edu/courses/cmsc160/f17/files/lab3.tgz
tar -xvzf lab3.tgz
ls
to see that there is a new directory called lab3
cd lab3
to change directory to the lab3 directory
rm filename
permanently removes (deletes) the file
cp oldname newname
copies the file at oldname to a new file at newname.
mv oldname newname
moves the file from oldname to the file newname. Note this does not copy, can overwrite files and removes the original file!
man
program. Try out man cp
to see all of the options.
Lab3: Three Numbers Author: Julian Dymacek Date: 2017 Sept. 5 A program to compute statistics about three decimal numbers. To compile: make To run: ./lab3 Test case: input: 1 3 5 output: median is 3.0 max is 3.0 min is 1.0 average is 3.0
When you are done you may hand in your lab by using make handin
.
The lab is due at 11:59pm Sept. 12th 2017.