Computer Science 1 (CS 113): Help Page

Office Hours

Instructor office hours will take place on Mondays and Thursdays, 3pm - 4pm in Park 204 and by appointment.

Teaching Assistant (TA) office hours in Park 230 & 231 are as follows:

Remotely Connect to CS Network

(1) Open up either Terminal or Git Bash.

Type: ssh user@goldengate.cs.brynmawr.edu

* Replace the word user with your username.

(2) If you haven't already, change your password after logging in.

Type: passwd

(3) If you cannot login or need assistance with changing your password, then please contact David Diaz (Systems Administrator).

File Transfer from CS Network

If you are working from your personal device, then you will need to download your files to your personal computer before you can submit on GradeScope. You can download files from the CS Network by doing the following from a new terminal.

Type: scp -r user@goldengate.cs.brynmawr.edu:/home/user/cs113/folder .

* Replace the word user with your username and the word folder with the name of the folder you want to download.

If you can't figure out where you downloaded the folder to, then you can type pwd or ls.

Terminal Commands

File Commands

ls : list files

pwd : print working directory

cd : change directory

mkdir : create folder

mv : move file or folder

cp : copy file

rm : remove file

Coding Commands

nano : open Nano

javac : compile Java code

java : run Java class

Remote Commands

ssh : connect to remote machine

exit : exits the current ssh connection

scp : transfer files

File Abbreviations

~ home directory

. current directory

.. up one directory

Additional Tips & Info

Terminal Key Commands

Tab : autocomplete

Up / Down : previous commands

Ctrl-C : cancel current command

Ctrl-Shift-Plus : zoom in

Ctrl-Minus : zoom out

Nano Key Commands

Ctrl-S : save file

Ctrl-X : exit

Ctrl-G : help

Lab Linux Machines

Hold-Alt + Tab : switch window

Note: To avoid errors in the lab, always remember to close Firefox / Chrome and to logout of your computer.