Open Unpack Unzip Uncompres .gzip .gz .gunzip Files In Linux Shell Command

RegisterLogin
Open Unpack Unzip Uncompres .gzip .gz .gunzip Files In Linux Shell Command
Post Description: Open Unpack Unzip Uncompres .gzip .gz .gunzip Files In Linux Shell Command
Tags: Open, Unpack, Unzip, Uncompres, .gzip, .gz, .gunzip, Files, In, Linux, Shell, Command
This Post Was Posted On Feb 29, 2008 By pinguin #815
if you are like me, and wanted to know how to uncompress or open .gzip files in linux i will show you how. i've been using linux and sometimes i've come across some downloads that are compress as gzip .gz .gunzip but how do you open them? well today i will show you the command you can use on the linux shell to excecute and unpack or uncompress the .gzip files. i think this is the same a .zip files you can open with winzip., anyway, this is the command to open it:


     Code:
gunzip filename.txt.gz
**** where filename.txt.gz is the name of the file you wish to uncompress

some information you can learn about the gzip technology: gzip and gunzip are GNU file compression and decompression utilities. Usually, files that have been compressed by gzip will have a .gz extension. However, sometimes you may see a file that has a .tgz extension. This is a TAR file that has been compressed by gzip. The .tgz extension is a shorthand version for the .tar.gz extension. This type of file must be uncompressed with gunzip before it can be untarred. However, there is a way to use the tar command to uncompress the file and untar it at the same time. For more information, see the tar: Tape Archive Files guide.

if you wan to know how to compress a gzip file To compress a file using gzip, execute the following command:

     Code:
gzip filename.txt
****** where filename.txt is the name of the file you wish to compress

The result of this operation is a file called filename.txt.gz. By default, gzip will delete the filename.txt file.
root
#1035 1
i want to extract sql file ( ialamlan_vb7.1203062909.tar )

last name was ialamlan_vb7.1203062909.sql.gz
i try some commands then i see its name as you see ialamlan_vb7.1203062909.tar

Feb 17, 2008 Reply Report abuse
zipper
#1034 2
i wanted to unzip a php script i downloaded, it was called coppermine gallery, it came in .zip format. so to unzip it from the linux shell command line i had to execute (send) this command:



unzip cpg1.4.10.zip



that was it
Mar 03, 2007 Reply Report abuse
©2011 Webune Forums - Sun Dec 18, 2011 5:36 pm
Powered by: Webune Forums V3