Anthony Dahmane UNIX Knowledge Assessment #1 0x0: 752 261 563 012 536 664 0x1: 15+1 $((${val1}+${val2})) 156 16 0x2: I typed the following to copy ka1.mp3 to my home directory... cp /var/public/unix/ka/ka1.mp3 ~/Documents To discover what type of file ka1.mp3 is, I typed... file ka1.mp3 Which told me... ka1.mp3: POSIX tar archive (GNU) So, using tar, I extracted the file within by typing... tar -xf ka1.mp3 And got the file lvl300.mudkip.gen3.dat.gz which I used gzip to extract... gzip -d lvl300.mudkip.gen3.dat.gz Which gave me the file lvl300.mudkip.gen3.dat which I wasn't sure what to do with. Running the "file" command told me this was a ZIP archive. Since the file ends with the suffix ".dat" gzip won't let me extract the files from within. This is where "unzip" must be utilized as below... unzip lvl300.mudkip.gen3.dat And now I have a folder called "unix-ka1" which contains 5 files; brute, genhash.c, hashfile, match, and process. 0x3: Some of this was slightly answered above but I can answer again! The files are listed below along with their "type" based on what the file command tells me. brute: Bourne-Again shell script text executable genhash.c: ASCII C program text hashfile: ASCII text match: Bourne-Again shell script text executable process: Bourne-Again shell script text executable I can cat all of these files, don't-cha-know. 0x4: To compile the .c file, type the following: gcc genhash.c -o genhash To run it: ./genhash This program generates encrypted text from the user input.