Run Nifty Telnet and log to any Andrew workstation (Host Name is
unix.andrew.cmu.edu)
Create a symbolic link from your home dir to the submission folder. A
symbolic link is a way to make a directory or file in one location appear
as if
its also in another location. You can create a link by running
ln -s /afs/andrew.cmu.edu/course/15/211/www 15211
This command will create the symbolic link namend '15211' in your home
account. When you 'cd' into the 15211 directory in your home account,
you will actually be moved to the
/afs/andrew.cmu.edu/course/15/211/www directory.
If by any reasons you are failed to create a correct link, you should
first delete whatever you created (you do this by running
rm 15211 ) and then repeat the above procedure.
Submission Procedure
Run WS_FTP32, KerbFTP or any other FTP application available on your
computer;
Log to any Andrew workstation (Host Name is unix.andrew.cmu.edu
) by using your andrewID and password;
In the Remote System window you should see your home account that
contains
the folder '15211' . If there is no such folder, repeat the submission
setup.
If you use KerbFTP, see Using KerbFTP instructions below;
Double click on '15211' and you will be transferred to the
/afs/andrew/course/15/211/www directory;
You should see the folder 'handin'. Go inside and find the folder which
is named as your andrewID;
Inside this folder you should see 'lab01' ... 'lab08' folders. Now you
can transfer your *.java files to a correspondent lab-folder.
Bboard, how do I access it?
Here are 2 ways to access the bboard.
Using Webmail (https://webmail.andrew.cmu.edu/).
Login, and then
click on FOLDERS. Under "UNSUBSCRIBE/SUBSCRIBE" type in "
academic.cs.15-211".
Click "Subscribe", and you are done.
Using Pine.
Login. Go to Folder List.Go down to Bboards, and hit
enter. Hit "a" for addsub. Type in "academic.cs.15-211"
without quotes
How do I post to the bboard?
Send an email to bb+academic.cs.15-211@andrew.cmu.edu
Using KerbFTP
When you use KerbFTP to handin your assignment you should see the
symbolic link '15211' in your home directory on andrew file system. If you
do NOT see 15211 at all, you need to create it. Read instructions in
Submission Setup on how to create a symbolic link.
The problem with KerbFTP is that the link 15211 will be shown as a
file. This means that you cannot cd to it. Here is what you need to do:
go to Options;
click on Remote Directory;
choose Change Root Directory.;
In the window that pops up type your symbolic link name 15211.
You should see the submission folder in the left window.
Zipping Files on Imac
To zip all the files in a folder named myFolder into a single
myZip file you do the following:
run Terminal
type cd Desktop
type zip -r myZip.zip myFolder
UNIX Operations
Here is a list of some commands that will come in handy when you want to
manage your files on AFS.
cd <directory> -- Change to location to
<directory>
cp <file> <directory> -- Copy <file> into
<directory>
ls -- List the files and subdirectories in a directory
ls -a -- List all the files in a directory, including dot
files mkdir <directoryname> -- Crerate a directory
with the name <directoryname>
mv <file> <directory> -- Moves <file> to
<directory>
rm <file>-- Removes/deletes <file>
rmdir -fr <directory> -- Removes a <directory>
and all subdirectories.