Turnin instructions are given on each lab page (see individual webpage).
They are usually unable to help you with assignments and in many cases are unfamiliar with the 170 assignments.
Send your questions to Professor Cheung at: email@example.com
We have hire experts to teach you computer science; please do not waste this opportunity.
But we prefer that you discover the answer yourself with our clues.
So ask a lot of questions.
The labs are often used to introduce a new concept in a hands on manner, so you must do the lab even though you do not need help.
Solaris is a type of UNIX system (a more well-known UNIX-based Operating System is Linux).
Always remember to logout when you leave in the lab for the day !
It looks something like this:
The background color can be different... in fact, you can set the background to any color you want...
It can also be started by "right clicking" on the work space and select "Tools" and then "Terminal"
Continue with the lab when you have tried the "cd" and "ls" commands with the interactive tutorial.
You will need the following commonly used UNIX command to do this lab:
If DEST is a name of a directory, then the mv command will move a file
Otherwise (meaining DEST is NOT a name of a directory), then the mv command will rename a file
mv file1 file2
- rename the file file1
(NOTE: assuming that file2 is not a directory)
If DEST is a name of a directory, then the cp command will copy the file into the directory and the new file will have the same name as the old file.
Otherwise (meaining DEST is NOT a name of a directory), then the cp command will create a file with the name DEST
cp file1 file2
- copy the file file1
(NOTE: the new file will have the name file2 )
Please make sure you type the above line correctly !
If you open a new window, you have to execute the above command again !
Follow the instructions until you complete the tasks.
alias do-lab=/home/cheung/share/cs170/do-lab0If you need help, please raise your hand and ask the Teaching Assistant.