http://wiki.cabal.mx/index.php?title=Comandos_de_la_terminal/gunzip&feed=atom&action=history
Comandos de la terminal/gunzip - Historial de revisiones
2024-03-28T18:10:41Z
Historial de revisiones para esta página en el wiki
MediaWiki 1.32.1
http://wiki.cabal.mx/index.php?title=Comandos_de_la_terminal/gunzip&diff=6339&oldid=prev
Rrc en 20:56 4 oct 2014
2014-10-04T20:56:16Z
<p></p>
<p><b>Página nueva</b></p><div>__NOTOC__<br />
* [[:#gunzip| gunzip]]<br />
<br />
== gunzip ==<br />
<br />
<syntaxhighlight lang="bash"><br />
<br />
[rrc@Llawyr ~]$ gunzip --help<br />
Usage: /usr/bin/gunzip [OPTION]... [FILE]...<br />
Uncompress FILEs (by default, in-place).<br />
<br />
Mandatory arguments to long options are mandatory for short options too.<br />
<br />
-c, --stdout write on standard output, keep original files unchanged<br />
-f, --force force overwrite of output file and compress links<br />
-k, --keep keep (don't delete) input files<br />
-l, --list list compressed file contents<br />
-n, --no-name do not save or restore the original name and time stamp<br />
-N, --name save or restore the original name and time stamp<br />
-q, --quiet suppress all warnings<br />
-r, --recursive operate recursively on directories<br />
-S, --suffix=SUF use suffix SUF on compressed files<br />
-t, --test test compressed file integrity<br />
-v, --verbose verbose mode<br />
--help display this help and exit<br />
--version display version information and exit<br />
<br />
With no FILE, or when FILE is -, read standard input.<br />
<br />
Report bugs to <bug-gzip@gnu.org>.<br />
<br />
[rrc@Llawyr ~]$ gunzip --version<br />
gunzip (gzip) 1.6<br />
Copyright (C) 2007, 2011-2013 Free Software Foundation, Inc.<br />
This is free software. You may redistribute copies of it under the terms of<br />
the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.<br />
There is NO WARRANTY, to the extent permitted by law.<br />
<br />
Written by Paul Eggert.<br />
<br />
[rrc@Llawyr ~]$ su -c "rpm -qf $( which gunzip )"<br />
Password: <br />
gzip-1.6-3.1.mga4<br />
<br />
[rrc@Llawyr ~]$ gunzip -l ComandosDeLaTerminal.tar.gz <br />
compressed uncompressed ratio uncompressed_name<br />
133002 1126400 88.2% ComandosDeLaTerminal.tar<br />
<br />
[rrc@Llawyr ~]$ gunzip -vl ComandosDeLaTerminal.tar.gz <br />
method crc date time compressed uncompressed ratio uncompressed_name<br />
defla 6d42a01c Sep 26 17:34 133002 1126400 88.2% ComandosDeLaTerminal.tar<br />
<br />
<br />
[rrc@Llawyr ~]$ gunzip -t ComandosDeLaTerminal.tar.gz <br />
<br />
[rrc@Llawyr ~]$ echo $?<br />
0<br />
<br />
[rrc@Llawyr ~]$ gunzip -vt ComandosDeLaTerminal.tar.gz <br />
ComandosDeLaTerminal.tar.gz: OK<br />
<br />
[rrc@Llawyr ~]$ gunzip ComandosDeLaTerminal.tgz<br />
gzip: ComandosDeLaTerminal.tar already exists; do you wish to overwrite (y or n)? n<br />
not overwritten<br />
<br />
[rrc@Llawyr ~]$ gunzip -f ComandosDeLaTerminal.tgz<br />
<br />
[rrc@Llawyr ~]$ ls -aldh ComandosDeLaTerminal*<br />
drwx------ 9 rrc rrc 4.0K Sep 26 17:40 ComandosDeLaTerminal/<br />
-rw------- 1 rrc rrc 1.1M Sep 26 17:29 ComandosDeLaTerminal.tar<br />
-rw------- 1 rrc rrc 130K Sep 26 17:34 ComandosDeLaTerminal.tar.gz<br />
<br />
[rrc@Llawyr ~]$ gunzip -fk ComandosDeLaTerminal.tar.gz <br />
<br />
[rrc@Llawyr ~]$ ls -aldh ComandosDeLaTerminal*<br />
drwx------ 9 rrc rrc 4.0K Sep 26 17:40 ComandosDeLaTerminal/<br />
-rw------- 1 rrc rrc 1.1M Sep 26 17:34 ComandosDeLaTerminal.tar<br />
-rw------- 1 rrc rrc 130K Sep 26 17:34 ComandosDeLaTerminal.tar.gz<br />
[rrc@Llawyr ~]$ <br />
<br />
[rrc@Llawyr ~]$ gunzip -rf BashClase/<br />
<br />
[rrc@Llawyr ~]$ ls -al BashClase/<br />
total 128<br />
drwxr-x--- 2 rrc rrc 4096 Sep 26 18:53 ./<br />
drwxr-x--x 49 rrc rrc 4096 Sep 26 18:52 ../<br />
-rw-r----- 1 rrc rrc 0 May 10 11:22 1.bak<br />
-rw-r----- 1 rrc rrc 0 May 10 11:32 1.Ztv<br />
-rw-r----- 1 rrc rrc 0 May 10 11:22 2.bak<br />
-rw-r----- 1 rrc rrc 0 May 10 11:32 2.Ztv<br />
.<br />
.<br />
.<br />
-rw-r----- 1 rrc rrc 307 May 3 10:57 S7.sh<br />
-rw-r----- 1 rrc rrc 393 May 3 11:17 S8.sh<br />
-rw-r----- 1 rrc rrc 467 Jan 26 2013 S9.sh<br />
-rw-r----- 1 rrc rrc 34 Nov 17 2011 Saludo<br />
<br />
<br />
</syntaxhighlight><br />
<br />
[[Category:Comandos de la terminal]]</div>
Rrc