bzless
Quick Reference
Command Name:
bzless
Category:
file viewing
Platform:
linux
Basic Usage:
Common Use Cases
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:
# View a compressed file with paging bzless file.txt.bz2
Advanced Examples:
# Open at a specific line (line 100) bzless +100 large_file.bz2