************************************ Checking your .tgz archive. COMS 1003 Bert Huang ************************************ Start by following the submission instructions on the homework page. Your output should look like: $ pwd /u/5/b/bch2104/1003 $ tar -czvf bch2104_homework2.tgz homework2 homework2/ homework2/arraymax.c homework2/fib.c homework2/fileinput.c homework2/written.txt homework2/README The -v tag on the tar command shows the files you compressed. This is reasonable confirmation that the tar procedure worked. If you want to further verify, create a test directory: $ mkdir test Now copy the .tgz archive into your new directory, and enter that directory. $ cp bch2104_homework2.tgz test/ $ cd test $ ls bch2104_homework2.tgz Now you can extract your archive to see what we will see when we do the same. $ tar -xzvf bch2104_homework2.tgz homework2/ homework2/arraymax.c homework2/fib.c homework2/fileinput.c homework2/written.txt homework2/README Now enter your unarchived homework2 directory and check your files. $ ls bch2104_homework2.tgz homework2 $ cd homework2 $ ls README arraymax.c fib.c fileinput.c written.txt $