User Tools

Site Tools


haas:spring2014:unix:projects:puzzle_box

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
haas:spring2014:unix:projects:puzzle_box [2014/02/02 15:05] wedgehaas:spring2014:unix:projects:puzzle_box [2014/02/02 15:44] (current) – [Procedure] wedge
Line 43: Line 43:
  
 Refer to the **file**(**1**) manual page or your textbook for more information. Refer to the **file**(**1**) manual page or your textbook for more information.
 +
 +=====Practice=====
 +For this project, files are located in the **projects/puzzlebox/** subdirectory of the UNIX Public Directory.
 +
 +^    ^|Do the following, and discuss the results in your Opus:|
 +| ^  a.|Copy **file.txt** into your home directory.|
 +|:::^  b.|Using **file**(**1**), what type of file does this appear to be?|
 +|:::^  c.|View the contents of this file using **cat**(**1**). Is it what it appears to be?|
 +|:::^  d.|Using **gzip**(**1**), compress this file with default compression. What does **file**(**1**) say?|
 +|:::^  e.|Uncompress the file, and recompress using arguments for fastest (not highest) compression. What does **file**(**1**) report now?|
 +
 +As in many puzzles, one's visual comprehension of the scenario plays a vital role. Where something doesn't necessarily meet the eye, or is not behaving as you would expect- just try reading any messages or output. Sometimes the clues are right under your nose.
 +
 +=====Procedure=====
 +
 +Try your hand at the following activity, where things are not necessarily as they should be:
 +
 +  * Locate the file **puzzle.txt** and copy it into your home directory.
 +
 +Being a file that ends in **.txt**, you might try opening it in a text editor (or simply using the **cat**(**1**) utility.
 +
 +Does it appear to be a text file?
 +
 +  * Use the **file**(**1**) utility to determine the actual file type.
 +  * Based on the output of file, react as appropriate to unravel this puzzle in order to find some plain text directions that will instruct you how to finish this project.
 +
 +As is the case many investigations, just observing how things behave can lead to recognition of an object's true state, or the recognition of a pattern, which can be used to solve the task at hand.
 +
 +=====Submission=====
 +To successfully complete this project, you must follow the directions located in a readable file at the conclusion of this project. Until you encounter it, you are not yet finished (hint).
 +
 +You should get some sort of confirmation indicating successful submission (actually, two) if all went according to plan. If not, check for typos and or locational mismatches.
haas/spring2014/unix/projects/puzzle_box.1391353516.txt.gz · Last modified: 2014/02/02 15:05 by wedge