![]() Method 2: Unzip/extract the GZ File Using the gunzip Command Finally, the “ sample.gz” is the name of the file that needs to be extracted. The next “ -d” indicates that the file should be decompressed. To explain the command shown above, the “ gzip” command is the standard keyword that is used to compress any file to a GZ file format. Once the directory is accessed, simply run the gzip command (the command that is used to compress the files) in the terminal alongside the “ -d” option to unzip the GZ file to your system: $ gzip -d sample.gz If you do not want to navigate, simply use the complete file path while running the gzip command shown below: $ gzip -d /home/itslinuxfoss/Desktop/ This is shown in the snippet below: $ cd Desktop The first step is to navigate to the directory (using the terminal) where the zipped file is located. The first method involves the use of options in the Linux terminal which is the core tool of any Linux operating system. Method 1: Unzip/extract the GZ File Using the gzip Command Unzip/extract the GZ File Using the gunzip Command.Unzip/extract the GZ File Using the gzip Command.This article will provide insight into several methods to extract GZ files in Linux. GZIP is more commonly used to compress HTML files which allows the webpages to load at a much faster pace. ![]() GZIP(GNU zip) is an example of the numerous different types of compressed file types. There exist various types of zipped files such as the RAR file, tar.gz, gzip, and so on. Compressing a file into zipped form makes the transfer much faster. Zipped files are a handy tool that not only helps in the secure transmission of data but the size of the file is compressed as well.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |