Give the command-line of displaying the contents of big1gz


Create a big file (If you don't know how to create a big file, try ls -l /usr/bin > bigfile). Create two copies of it using cp, and call them
big1 and big2.

• Give the command-line of compressing big1 using gzip (should produce big1.gz).
• Compress big2 using bzip2(should produce big2.bz2).
• Give the command-line of comparing the sizes of the compressed files (big1.gz and big2.bz2) and the original (bigfile) using ls -l
• Give the command-line of checking the file type of compressed files and the original.
• Give the command-line of displaying the contents of big1.gz using zcat and big2.bz2 but using bzcat without uncompress them. (You may pipe the output to head -10 to avoid lots of output).

 

Solution Preview :

Prepared by a verified Expert
Software Engineering: Give the command-line of displaying the contents of big1gz
Reference No:- TGS0664962

Now Priced at $20 (50% Discount)

Recommended (90%)

Rated (4.3/5)