Manage gzip files on-the-fly (zcommands)

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

SHARE:
nv-author-image

Stefan Durand

My name is Stefan, I'm the admin of LinuxScrew. I am a full-time Linux/Unix sysadmin, a hobby Python programmer, and a part-time blogger. I post useful guides, tips, and tutorials on common Linux and Programming issues. Feel free to reach out in the comment section.

Leave a Reply

Your email address will not be published. Required fields are marked *