Homework 1 - UMBC-CMSC104/General GitHub Wiki

Logging in

Determine which computer you will use to do your CMSC104 homework. This could be:

A computer in one of UMBC's labs.

Lab locations are listed here:

https://wiki.umbc.edu/pages/viewpage.action?pageId=29853437

Find such a computer, boot it into Linux and log in. Launch the Terminal application as you did in class.

Your own computer running Mac OS X.

Launch the Terminal application in /Applications/Utilities and log into the GL system using the command:

ssh -l username gl.umbc.edu

where username is your UMBC username.

Your own computer running Microsoft Windows.

Download and install Tera Term from UMBC's DOIT, if you haven't done so already: http://www.umbc.edu/oit/software/pages/TermSSH.htm

After Tera Term has been installed, go to the Start menu, select "All Programs" then "UMBC - Tera Term Pro SSH". There should be an item named "GL" in the submenu. Select "GL" and log in.

The homework

Change directory to the hw01 directory you created in class for Classwork 1. If you did not do this in class, follow the directions and create one now.

Copy a file with some survey questions into your curent directory:

cp /afs/umbc.edu/users/m/w/mwilson3/pub/cmsc104/survey.txt .

Don't forget the final '.' in the Unix command. It means that the survey.txt file should be copied into the current directory (which should be your hw01 directory).

Use nano to edit the survey.txt file and answer the 10 survey questions in the file. (Be sure to scroll down in nano to see all 10 questions.)

Save the file in nano and exit.

Submit your edited file:

submit cs104_wilson hw01 survey.txt