Welcome to Linux Screw! If you're new here, you may want to subscribe our RSS feed.
Both Linux and Unix like OSes comes with z commands. It allows you to read gzip compressed text files using zless, zcat and zmore etc. gzip reduces the size of the files using Lempel-Ziv coding (LZ77). Whenever possible, each file is replaced by one with the extension .gz, while keeping the same ownership modes, access and modification times. zcommand has some cool usage – such as display the current time in different zonename.
Read more at Vivek’s blog…
You may also be interested in:
Linux/Unix coreutils command ‘paste’ to merge lines of files
Two-way conversion of Unix time (seconds since 1970) and regular time
Linux and Unix fmt utility as a simple text formatter
Find out where Unix/Linux executable binary is located
One more way to count CPUs in Linux







0 Responses to “Manage gzip files on-the-fly (zcommands)”