Friday, 10 February 2017

To use zip files

gzip gzip command is used for to zip the files.

a)gzip : gzip command is used for to zip the files.
                                          Syntax:$gzip <filename>
Ex :$gzip departments
zip file extension is .gz.

b)zcat : zcat command is used for to open zip files.
                                        Syntax:$zcat <filename.gz>
Ex :$zcat departments.gz

c)gunzip : gunzip command is used for to open zip files.
                                   Syntax:$gunzip <filename.gz>
Ex :$gunzip departments.gz

1 comment: