How it works

Upload & Edit
Your PDF Document
Save, Download,
Print, and Share
Sign & Make
It Legally Binding

Gzip Command: What You Should Know

OPTION] FILE [DIRECTORY]… GZIP [OPTION] FILE [DIRECTORY]... GZIP [OPTION] FILE [DIRECTORY]… DESCRIPTION. The GZIP command uses the GZIP-format compression algorithm to compress, expand, or decompress files. GZIP [OPTION] FILE [DIRECTORY]… GZIP [OPTION] FILE [DIRECTORY]… Uses the Unix format for its positional arguments; FILE is either a command or standard input to the program, and DIRECTORY is the directory into which the compressed file is to be saved. FILENAME. The filename of the compressed file. The file is saved in the directory in the path specified by the parameter DIRECTORY. The file name is case-sensitive, because this is the only parameter of this command. The filename must contain only the characters A-z. If FILENAME is enclosed in double quotes, the contents of the quotes are not written to the standard output. DIRECTORY. The directory containing the compressed file. The file is written directly to the file system in the path specified by the parameter DIRECTORY. The file must not contain any other special characters. The file system must be able to handle files with special symbols, such as those in ASCII and ISO-8859-1. If DIRECTORY starts with a dash but not a hyphen (for example, /dev), the file is written to a directory called. This directory will be automatically created if the specified DIRECTORY does not exist. If a directory containing files with symbols or other information must be created, the file can instead be placed in a directory called.symbols. If a file is saved in the directory.symbols and a new one named .go is written in it, then the original file will be renamed. On other systems the file will be renamed to .go. Otherwise, the process continues as if the file had never existed. The file name in the output file is always treated as if the file had an extension that contains the string “.go”. If the file is created using the command shell(1), then instead of a dot (.) the file name is represented by the single letter A. If no extension is given on the command line, the name is truncated to two dots (a-z, A-z). The name with the .go extension is the one that is written to the system's standard output.