24. On the UFCORS Page there are several ways to compress the data. Can you explain the different methods?
Data files may be compressed in one of the following formats.
- gzip - Files have the .gz extension. To unzip, use the following command line.
gzip -d filename.gz
For help on gzip, type gzip --help.
- pkzip - Files have the .zip extension. These files can be unzipped by pkunzip and Winzip. To unzip using pkunzip, use the following command line.
pkunzip filename.zip
For help on pkzip, type pkzip
For Winzip, copy the zipped file to the Winzip icon and the files should be extracted.
- compress Files have the .Z extension. To uncompress these files on a UNIX machine, use the following command line.
uncompress filename.Z
For help on compress on a UNIX platform, type man compress.
- bzip2 - Files have the .bz2 extension. To unzip these files, use the following command line.
bzip2 -d filename.bz2
For help on bzip2, type bzip2 --help.