If this is your first time using the college’s GitHub server for CS, follow the instruction in the First Time Set-up and Generating ssh keys section of the above git help page to generate ssh keys and upload your public ssh key (generated from your CS account) that is necessary to clone repos on our system.
We will go over these steps in lab on Wednesday, but please try this on your own before lab.
Try out the class Piazza page. You should have received an email with information about how to connect to Piazza. Let us know if you encounter problems using Piazza.
$
) enter the following sequence of commands (the lines with #
’s are explanations of each command and not meant to be typed):# change current working directory to your home directory
$ cd
# print current working directory
$ pwd
# create a new subdirectory named cs31
$ mkdir cs31
# list contents of current working directory (your home directory)
$ ls
# change current working directory to cs31
$ cd cs31
# print current working directory
$ pwd
If you unfamiliar with the Unix file system, read the help on the Unix directory structure.
You can use emacs, vim or atom as an editor for this class. If you don’t know where to start, try one of these links:
The atom editor is the easiest to learn and will serve you well in most CS courses. Some upper-level systems (Group 2) courses may require you to be familiar with vim, but the choice of editor in CS31 is up to you.
As you work in a CS lab, if you plan to leave the lab for just a few minutes and then come right back to work, you do not need to log out, but it is a good idea to lock your machine while you are gone. You can lock your screen by clicking on the lock icon . You should not lock a machine if you plan to be gone for more than about 10 minutes, and you should not lock main lab machines during times when classes are held in the lab.