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


1 Comment


  1. February 14, 2012  8:15 pm by Georgann Luma Reply

    5. Excellent goods from you, man. I have understand your stuff previous to and you are just too great. I really like what you have acquired here, really like what you're stating and the way in which you say it. You make it enjoyable and you still take care of to keep it smart. I can't wait to read far more from you. This is actually a tremendous site.

Leave a reply


Your email address will not be published.