This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
haas:spring2014:unix:projects:puzzle_box [2014/02/02 15:05] – wedge | haas: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/ | ||
+ | |||
+ | ^ ^|Do the following, and discuss the results in your Opus:| | ||
+ | | ^ a.|Copy **file.txt** into your home directory.| | ||
+ | |:::^ b.|Using **file**(**1**), | ||
+ | |:::^ c.|View the contents of this file using **cat**(**1**). Is it what it appears to be?| | ||
+ | |:::^ d.|Using **gzip**(**1**), | ||
+ | |:::^ 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' | ||
+ | |||
+ | =====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, | ||
+ | |||
+ | =====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. |