bzmore
Quick Reference
Command Name:
bzmore
Category:
file viewing
Platform:
linux
Basic Usage:
Common Use Cases
- 1
Compressed file viewing
View bzip2 compressed files page by page
- 2
Data inspection
Inspect compressed data with pagination
- 3
Content browsing
Browse compressed file contents
- 4
Log analysis
Analyze compressed log files
Syntax
bzmore [file.bz2 ...]
Options
Option | Description |
---|---|
-d | Display "Press space to continue, 'q' to quit" prompt |
-f | Count logical lines instead of screen lines |
-l | Ignore form feed (^L) characters |
-c | Display pages by clearing instead of scrolling |
-p | Do not scroll, clean screen and display text |
-s | Squeeze multiple blank lines into one |
-u | Suppress underlining |
Note: bzmore supports options that the more command accepts, as it is a wrapper around bunzip2 and more.
Examples
How to Use These Examples
The examples below show common ways to use the bzmore
command. Try them in your terminal to see the results. You can copy any example by clicking on the code block.
Basic Examples:
bzmore file.txt.bz2
bzmore large_log.bz2
bzmore file1.bz2 file2.bz2 file3.bz2
Advanced Examples:
bzmore file.bz2 | grep "error"