[fedora] dd
suvayu ali
fatkasuvayu+linux at gmail.com
Sun Sep 4 15:42:29 UTC 2011
On Sun, Sep 4, 2011 at 5:26 PM, xinyou yan <yxy.716 at gmail.com> wrote:
> Yes it is very clear , you suggestion is good .
> By the way , I said before gzip with >> can be achieved ?
> gzip -c make the file be compressed to standout , then redirect ,
> Can we decompress it with some method ?
>
1. compress a file by redirecting stdout:
$ gzip -c somefile > somefile.gz
2. decompress the compressed file:
$ gunzip somefile.gz
3. decompress the compressed file into a new file called somefile:
$ cat somefile.gz | gunzip
HTH
--
Suvayu
Open source is the future. It sets us free.
More information about the users
mailing list