Linux Classes
Share This With a Friend  

Zmore and Zless - How Do They Work?

The zmore and zless Commands

The zmore command is a handy utility that lets you view gzipped files one screen at a time (much like the more command) without first decompressing them.

The zmore command pauses after each screenful, printing --More-- at the bottom of the screen.

You can press ENTER to display one more line, or press the spacebar, to view the next screen of data.

The zless command works the same way, except the decompressed output is displayed by the less command for additional viewing flexibility.

Keep in mind that zmore and zless do not modify the input file.

Previous Lesson: Compress and Zcat
Next Lesson: Zip and Unzip



Comments - most recent first
(Please feel free to answer questions posted by others!)

No comments yet

I welcome your comments. However... I am puzzled by many people who say "Please send me the Linux tutorial." This website *is* your Linux Tutorial! Read everything here, learn all you can, ask questions if you like. But don't ask me to send what you already have. :-)

NO SPAM! If you post garbage, it will be deleted, and you will be banned.
Notify me about new comments on this page
Hide my email

Ask Bob Rankin - Free Tech Support

Copyright © by - Privacy Policy
All rights reserved - Redistribution is allowed only with permission.