Orientation to the lab environment

Jmad


Objectives:
  • To familiarize students with the two primary operating environments for CS 139/CS 239. 
  • To introduce the concept of the file system.
  • To introduce the terms listed below.
  • To introduce students to the terminal window in Linux.
  • To introduce students to the top 10 linux commands.
New Terms:

absolute path name

directory name of a file in relation to the root

relative path name

directory name of a file in relation to the working (or current) directory

working directory

directory in which the user is currently working.  It is assumed to be the starting point for any relative path name resolution.

home directory

directory which is the initial working directory when you first log into your computer.

command line argument

a value entered with a command in the Linux terminal window (or cmd window in Windows) which is passed into the command to alter how it operates.

Materials: Lab worksheet (provided in hardcopy form)
Prerequisites: Students should be familiar with the term, file system and understand the concepts of absolute and relative path names..
Acknowledgement:: Original lab by Arch Harris
Turning in
your work:
Turn in the worksheet to receive credit for this lab.

Part A - Background (click a chart for a larger view)
windows lab
Mac lab chart
linux lab
Linux lab chart

In both of the labs (and when you are home working), you are dealing with several different machines.  You always work on your local machine, represented in the charts by the laptop.  In addition, you may be working with servers, represented in this chart by the towers.  For our environment, you will have storage space on a network server, named IT-data3  (in long form IT-data3.ad.jmu.edu/data3).  This server can be "mounted" into the file system of the local machine in one of two ways that will be described in the lab.  We also have a linux server named stu2 (or long form stu2.cs.jmu.edu).  This machine will contain our program submission tool and provides web space that students may use.  This lab will explore how we can access each of the machines, how we can "mount" the network server to our local and remote Linux servers, and how  we can move files among the different servers.

Part B - See lab worksheet and follow its instructions.



last updated - 09/07/2010 by NLH