$29
Introduction
This simple lab needs no introduction. Just follow the instructions and submit the resulting tarball to your instructor.
Assignment Instructions
Setup
If you don't have an account, follow the instructions in the introduction to DETER document.
Log into DETER.
Create an instance of this exercise by following the instructions here, using
/share/education/LinuxDETERIntro_UCLA/intro.ns as your NS File.
In the "Idle-Swap" field, enter "1". This tells DETER to swap your experiment out if it is idle for more than one hour.
In the "Max. Duration" field, enter "6". This tells DETER to swap the experiment out after six hours.
Swap in your new lab.
After the experiment has finished swapping in, log in to the node via ssh.
Need help getting an account, logging in, or creating a lab? See the student introduction to DETER or our introduction to SSH for help.
Tasks
Make sure you log into your experimental node to do the following tasks. SSH to users.deterlab.net first and then SSH from this node to your experimental node.
Treasure Hunt
On the node you just swapped in, there are 5 JPEG files whose names contain the word "intro" in some form. Find all five files.
Recall that UNIX is case sensitive.
Make a directory in your home directory called top_secret.
Move the 5 files into top_secret
Use a text editor to create a plain text file in top_secret called answers.txt that includes the original locations of the 5 files and a brief but unambiguous description (e.g., the title) of the image.
To describe the image, you need to view the image. This involves using Secure Copy (scp or pscp on Windows) to transfer the files to your local machine by way of users.deterlab.net. See our
2. Information Hunt
It's important to be able to go online and find the answers to technical questions. In order to get you figuring out how to find answers, we'd like you to answer the following questions. Put the answers to these questions in your answers.txt file in the top_secret directory.
1 sentence: What goes in the /var directory on a UNIX computer?
1 sentence: What is the /dev directory for on a UNIX computer?
On your experimental node, find out how large the disks are and how much space is free. Put this information in a separate file called top_secret/diskfree.txt. (See the infobox on command redirection for an easy way to do this.)
On your experimental node, find out the "vendor id" of the experimental node's CPU model.
Hint: there is a dynamic file on the system that includes this information.
Wrap it up!
Collect your answers and the images you found and submit them to your instructor.
Make sure your personal information (and any other information requested by your instructor) is included in answers.txt:
Your name
Your email address
Your DETER username
Make a gzipped tarball called username-intro.tar.gz containing the top_secret
directory
This should include all 5 images, diskfree.txt and your answers.txt
Example: tar cvzf 1234567890-intro.tar.gz top_secret
What can go wrong
There's not much to go wrong here. However, when you're looking for the image files, remember that Unix is case-sensitive -- "I" and "i" are not the same. Also, remember that sometimes, different extensions can refer to the same type of file.
Submission Instructions
Submit your tarball to your instructor.