cs.wellesley.edu is a file server maintained by the Computer Science Department. The department and class web pages are on this machine, as well as accounts for students taking CS classes.
At the beginning of the semester, each CS111 student must register for an account. Your account name is the same as your Wellesley Gmail name. You can chose whatever password you like.
Your CS111 password should not be anything that someone could guess (like your name, telephone number, or cat's name) or that a computer would find quickly by guessing. It should be at least 6 characters long, should not be a word in any language, and it should include at least one character that is not a letter. Examples of bad passwords: cs111, computer, sesame, abracadabra, Wellesley, Georgia, 092378
Examples of good passwords:
Of course, the examples of good passwords are not good passwords any more, because they appear here.
Both account names and passwords are case sensitive, which means that lower and upper case letters are considered distinct.
If you forget your password during the term, please contact your instructor.
A directory is a structure that contains files and other directories. It corresponds to a folder on a Mac or in Windows. Associated with every CS111 account is a home directory in which files for the account are stored. Whenever you connect to the cs server using an SFTP client (see below), you will be connected to your home directory.
Different directories have different permissions, which means that you may or may not be allowed to read or write files in them. Obviously, you can both read and write your home directory, but you cannot read or write other students' directories. There are some CS111 directories that you can read but not write.
The name of your home directory is the same as your account name. All home directories on the CS111 server are located within another directory named students, which itself is located in the top-level directory, which is called
Directory and file names are often specified as a path name containing the sequence of directories that must be traversed to get from the "top" of the file system to the desired directory or file. Path names are written with the components separated by slash ('/') characters. For example, Georgia Dome's home directory is
Rather than type the entire path to refer to your home directory, you can abbreviate it with a tilde ('~', often pronounced 'twiddle'). If you are user gdome, then the directory ~ is an abbreviation for /students/gdome.
The CS111 server file system has been preconfigured with a number of special directories:
- ~/cs111: This is for your CS111 work in progress.
- ~/cs111/drop: This is the folder that contains all your submitted softcopy work for CS111
- ~/cs111/drop/psi (where i ranges from 1 to 11) : This is the drop folder in which you turn in the softcopy of your work for problem set i.
- ~/cs111/download: This is where to find CS111 files that you can download to your computer.
- __~/public_html__: This is where all files that need to be visible to web browsers should be placed, such as
.jpg, etc. files. Any files in this directory will be visible not only to web browsers, but to your classmates as well.
Only you are able to write files to or delete files from your home directory, or any subdirectories thereof. Additionally, only you are able to write files to or delete files from the drop folders with your account name. Any attempt to write files in another students' home directory or drop folders will fail.
Only you are able to read files in your drop folders and your private directory (and subdirectories thereof). However, by default, all directories other than your private directory are world readable, which means that anyone may read them. If you want files to be private, you should store them in your private folder.
Note that your instructors have the ability to read, write, and delete any of your files. However, except under unusual circumstances, the only private files of yours that we will manipulate are those that you explicitly submitted to your drop folders.
Transferring files to the server
To transfer files between the CS111 server and your local computer, you need to use a Secure File Transfer Protocol (SFTP) client on your local computer. CyberDuck is a program that provides SFTP client services (there are many others, including Fetch and WinSCP). Information about these applications is available from the LTS websites for Mac software and Windows software. To connect to the cs server, you will have to provide the following information:
- User ID: Your cs111 account name
- Password: Your cs111 password
- Directory: You can leave this blank
Selecting OK should connect you to your home directory. Once you are connected through your account, you can upload files (copy onto the server), or delete files in your account on the server.
Downloading files from the server
To download assignments from the cs111 server, you need to access the server by using your own personal account (the same one you use to upload assignments). After you login to your account, double click on cs111 and then double click on download. This is where we will place any starter code that you need for labs, assignments and exams.
Because storage resources on the cs server are limited, each student account is allocated a limited amount of disk space, known as a quota. If you keep lots of files, or even just a few large ones , you may find yourself exceeding the quota. An attempt to store a file that will exceed the quota will fail. In this case, you will need to delete some older files in order to be able to store new ones.
File servers sometimes fail. In some cases, they may become inaccessible for long periods of time; in other cases, they may actually lose information. For both of these reasons, we require you to keep backup copies of all your work during the semester. You may store backups in your Google Drive, on a thumb drive, on your own computer, or any other computer storage device to which you have easy access. That way, if the cs server should become inaccessible or lose files, you will still be able to proceed with your work.
Because some backup media themselves are unreliable, you might want to have more than one form of backup.
Since student accounts on the cs server may be deleted after the semester ends, you should be sure to save on your personal storage media any files from the cs server that you wish to keep for the future.