Forrest logo
back to context overview

gzip

List of commands for gzip:

  • gzip:tldr:027f4 gzip: Specify the compression level. 1=Fastest (Worst), 9=Slowest (Best), Default level is 6.
    $ gzip -9 -c ${file-ext} > ${compressed_file-ext-gz}
    try on your machine
    explain this command
  • gzip:tldr:26e62 gzip: Compress a file specifying the output filename.
    $ gzip -c ${file-ext} > ${compressed_file-ext-gz}
    try on your machine
    explain this command
  • gzip:tldr:43878 gzip: Decompress a file, replacing it with the original uncompressed version.
    $ gzip -d ${file-ext}.gz
    try on your machine
    explain this command
  • gzip:tldr:6ebef gzip: Compress a file, replacing it with a gzipped compressed version.
    $ gzip ${file-ext}
    try on your machine
    explain this command
  • gzip:tldr:802f4 gzip: Decompress a gzipped file specifying the output filename.
    $ gzip -c -d ${file-ext}.gz > ${uncompressed_file-ext}
    try on your machine
    explain this command
  • gzip:tldr:fd22d gzip: Compress a file, keeping the original file.
    $ gzip --keep ${file-ext}
    try on your machine
    explain this command
back to context overview