CS21 Lab 3 Linux Adventure
Due Saturday, September 30, before midnight
This optional adventure will give you practice with linux commands cd
, ls
, pwd
, cat
and mv
.
You will need to move a file to the correct location. If you complete the adventure, we will credit one extra credit point that can be used for this lab or a future lab.
In this adventure, you are searching for a specific pokémon across the pokéworld.
The pokéworld is divided into different regions (example Johto, Kanto, Hoenn etc). Each region contains different cities and towns. And each city/town has different locations within it (such as pokégyms, pokéhospitals, different stores etc.). Within these places you can search for clues (files) that will help you on your hunt!
The tools you will need to search are detailed below:
Your mode of travel are the following commands:
|
change directory to desired directory |
|
move backwards out of directory up one level |
Your GPS is:
|
print working directory - will give you your current location |
|
lists all of the things in your current location(directory). Clues can be found in files or locations/directories |
To check contents of a file:
|
outputs contents of a file to your terminal |
|
an interactive way to read a file, use space bar to page down, q to exit |
To get started, navigate into the adventure_1
directory and read THE_ADVENTURE_BEGINS_README
using the following commands:
cd # to go to your home directory
cd cs21
cd linux_adventures/adventure_1
cat THE_ADVENTURE_BEGINS_README
To complete the adventure for an extra credit point, you must move the file containing the jigglypuff into your pokéball.
Happy Hunting!