Important:  I expect you to work in pairs for all in-class exercises.  Your partner is the first one to talk to with questions - discuss everything with them first! 

Then if you and your partner have a question together - the TA's or PG will be happy to work with your group to help solve it.  You may also communicate with students outside of your group.  Find yourself a partner, or PG will do it for you.  You don't have to stick with a partner all semester, but that has usually been the case in the past.  

Today's class is meant to give you a brief introduction to navigating around your directories on Linux, looking at text files, editing text, etc.  The first thing to do is to try and login to Rivanna using the OnDemand interface - follow the instructions below under (1).  After you login to Rivanna, work through the 5-minute Linux guide. 

Important: Refer to the getting_started page for instructions on connecting to your rivanna account. rivanna is the name of a cluster of PCs provided by UVA IT; we will use rivanna extensively throughout the semester.  We will learn much more about Rivanna next week.

Class exercise work is due by noon of the following day.  In-class exercises will be graded only based on participation.   In the next class, we will setup GitHub accounts for turning in work in this class.  For today, just show your Rivanna linux command-line window to a TA or PG after completing your work. 

Last thing: At the end of your class period, log out from rivanna, and close all browser and terminal windows.


1. Logging in with an On Demand virtual session

2. Start working with the Linux shell

Note:  If you are not able to login to Rivanna yet, you may do some of the exercises below (explore basic linux commands), with this linux emulator in your browser window.

First, review the basic Linux Shell commands in the 5 minute guide


 To get participation for today's in-class activity:  Introduce yourself to a TA, or PG, and show us your Linux command terminal.   In our next session, we will learn to use Git/GitHub and use that for all future assignments. 



Summary

This introductory exercise provided us with some foundational knowledge that will be essential going forward in this class. If you struggled with any of these concepts, I recommend return to it and doing them again on your own.  Also, consider going to office hours next week for more practice with someone who can explain things to you.  It is important not to fall behind in this class, as history promises it is very difficult for students to catch up!

All of the work for the class may be done with the OnDemand (and later with Jupyter Notebooks). However, it can be more convenient to setup a terminal on your own laptop. If you completed all of the items above try to establish connections to rivanna using your personal laptop during the remaining class time.  You should go to this link, follow the additional link there and complete the instructions that are appropriate for either Windows or Mac, depending on the kind of computer you own/are using. You may need to download some additional software to make this work – but this will be a helpful process to go through, preparing you to use your personal laptop/PC efficiently for the rest of the semester.