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
This command will create the symbolic link namend '15111' in your home
account. When you 'cd' into the 15111 directory in your home account,
you will actually be moved to the /afs/andrew.cmu.edu/course/15/111adamchik
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 15111 ) and then repeat the above procedure.
You should see two folders there: handin and handback. If you go inside,
you
will find the folder which is named as your andrewID. You will FTP your porgramming
assignments
to a correspondent lab-folder. Once your assignment is graded you will see TA's comments in
the
handback folder.
Submission Procedure
Run SSH, 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 '15111' . If there is no such folder, repeat the submission setup.
If you use KerbFTP, see Using KerbFTP instructions below;
Double click on '15111' and you will be transferred to the
/afs/andrew/course/15/111adamchik 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 'lab00', 'lab01' ... 'lab08' folders. Now you
can transfer your *.java files to a correspondent lab-folder.
Once you connect to andrew.cmu.edu using ssh, you start SFTP to transfer files.
Read the above documentation on how to use SFTP.
Using Fetch (on Imacs) to Transfer Files
When you open Fetch, a connection box should pop up. If it doesn't, go to File > New Connection.
Fill in the following information:
Hostname: unix.andrew.cmu.edu
Username: your Andrew ID
Connect Using: SFTP
Password: your Andrew password
and then hit Connect. If you receive a warning, press Continue.
To move remote files to your local computer, find and highlight the file(s), then click the Get button at the top of the screen.
To transfer files from your computer to the remove server, navigate to the folder where you would like to put the file(s), then click Put
at the top of the screen. This will open a box which lets you select a file or folder to transfer. Find the one you want, and click the Put button at the bottom of the window.
Transfering Files Using Secure Cop on IMacs
Secure copy is way to transfer files between local and remote computers/servers using the terminal.
From your local computer (using an SCP client), cd into the directory containing the file you want to transfer and type the command:
scp FILENAME MyAFS/15111/handin/exam/your_user_ID
For example, to transfer testfile.txt from my Desktop to one of the 15111 lab handin folders, I would enter:
Using Webmail (https://webmail.andrew.cmu.edu/).
Login, and then
click on FOLDERS. Under "UNSUBSCRIBE/SUBSCRIBE" type in "
academic.cs.15-111".
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-111" without
quotes
How do I post to the bboard?
Send an email to bb+academic.cs.15-111@andrew.cmu.edu
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.
Your recitation section is run by a TA, and it is the TAs job to collect and report all of
your
course grades. It is thus extremely important that any change of section be done with (a) the
permission of your current TA and (b) the permission of your new TA. If either your current or
new TA fails to appprove of your section switch, then you may not make the switch. There are
many reasons why a TA might refuse a section switch. For example, a section might already have
too many students.
What if I need more time to do a homework assignment?
If you feel that you have a good reason for an extension, please see an instructor or your TA
in person, preferably during office hours.