Create a course login. Your course login is independent of both your "CS login" and your "UNC ONYEN". You will need it to submit your problem sets and your lab checkoffs. Please keep track of your course userid and password. If you forget your password, we cannot recover it, but we can reset it for you. If you forget your userid not not panic and create a new one. Any new userid cannot be synchronized with another one, thus your hard work will be lost. Instead, you should inform either the TA or the instrutor, and we will retrieve it for you as soon a possible. In the form that follows use "Comp411F15" as your Institution. I would also suggest that you use your CS login as your username and your UNC ONYEN as your email address. Once registered, you should login and then return to this web page. You can register here.
Download a secure terminal emulator and install it on your laptop. There are several available alternatives for windows including Secure CRT or SSH/SFTP Secure Shell, which are available from http://shareware.unc.edu. Another popular freeware alternative is Putty, which can be downloaded at http://www.chiark.greenend.org.uk/~sgtatham/putty/. If you are using Mac OS X or Linux, the built-in "Terminal" application will be sufficient. However, you'll need to make sure that the ssh client package has been installed, which can be tested by typing "ssh" at the command line prompt. If none of these options works for you, you can use a browser-based terminal application.
Verify that your unix "cs login" is working by setting up a terminal session on "login.cs.unc.edu", or typing "ssh login.cs.unc.edu" at the Terminal command prompt. You should be asked to provide a username and password, and eventually you should arrive at a UNIX command prompt. If this succeeds, you can type "exit", and you have completed the prelab. Feel free to get a head start on the actual lab if you like.
Lab Tasks
The following exercises walk your through the basic UNIX commands. Scattered among the text are Checkoffs. Make sure that you read the instructions carefully since each checkoff assumes a context described in the setup before the question. You are provided with one or more blanks to enter your solution for each checkoff. You may be provided with more blanks than required for your answer. In this case, you should leave the extra blanks empty. You should always try the command first, to verify that it achieves the requested effect.
Before starting, make sure that you are logged into the course grading system. To verify that you are logged in, look in the upper right corner of this web page. It should show your course userid. If guest appears, you are not logged in and you will be unable to submit your lab. If you press submit while not logged in you will likely need to re-enter all of your checkoffs.