Linux commands: Difference between revisions

Jump to navigation Jump to search
No change in size ,  27 February 2014
m
Line 75: Line 75:
=== file compression and decompression ===
=== file compression and decompression ===
compress
compress
* {{kbd | key= <nowiki>pv big.file | gzip > big.file.gz</nowiki> }}({{Linux}})<ref>[http://www.catonmat.net/blog/unix-utilities-pipe-viewer/ A Unix Utility You Should Know About: Pipe Viewer - good coders code, great reuse]</ref> keep the original file
* {{kbd | key= gzip -v big.file}}({{Linux}}) NOT keep the original file
* {{kbd | key= gzip -v big.file}}({{Linux}}) NOT keep the original file
* {{kbd | key= <nowiki>pv big.file | gzip > big.file.gz</nowiki> }}({{Linux}})<ref>[http://www.catonmat.net/blog/unix-utilities-pipe-viewer/ A Unix Utility You Should Know About: Pipe Viewer - good coders code, great reuse]</ref> keep the original file


decompress
decompress

Navigation menu