bzless
Quick Reference
Command Name:
bzless
Category:
file viewing
Platform:
linux
Basic Usage:
Common Use Cases
- 1
Compressed file viewing
View bzip2 compressed files with pagination
- 2
Data inspection
Inspect compressed data interactively
- 3
Content browsing
Browse through compressed file contents
- 4
Log analysis
Analyze compressed log files interactively
Syntax
bzless [options] file.bz2
Options
Option | Description |
---|---|
+[num] | Start at line number [num] |
-i, --ignore-case | Ignore case in searches |
-N, --LINE-NUMBERS | Display line numbers |
-S, --chop-long-lines | Chop (truncate) long lines rather than wrapping |
-M, --LONG-PROMPT | Show more detailed prompt |
-n, --line-numbers | Suppress line numbers |
Note: bzless supports most options that the less command accepts, as it is a wrapper around bunzip2 and less.
Examples
How to Use These Examples
The examples below show common ways to use the bzless
command. Try them in your terminal to see the results. You can copy any example by clicking on the code block.
Basic Examples:
bzless file.txt.bz2
bzless large_log.bz2
bzless document.bz2
Advanced Examples:
bzless +100 large_file.bz2