bzmore command in Linux with examples Last Updated : 11 Jul, 2025 Comments Improve Suggest changes 1 Likes Like Report bzmore command in Linux is used as a filter for CRT viewing of bzip2 compressed files, which are saved with .bz2 suffix. In simple words, using 'bzmore', the content of the file can be viewed on the screen without uncompressing the file. bzip2 is a block-sorting file compressor which compresses files using the Burrows-Wheeler block sorting text compression algorithm, and Huffman coding. bzip2 compresses files more effectively than the older Deflate (.zip and .gz) and LZW (.Z) compression algorithms, but is slower. While the bzip2 command line utility can be used to compress files, there are many other tools that let you perform basic tasks - like searching, comparing, and more without the need to uncompress them. bzmore is just like 'more' command in Linux but it is mainly used for compressed bz2 files. bzmore allows examination of compressed files one screenful at a time on the terminal and pauses, with the bottom line printing “–More–” on the screen. For performing further tasks on the terminal, various options are available. Syntax : bzmore [ name ...] Example: A text file named GFG.txt is compressed via bzip2. After the compression, the file is saved as GFG.txt.bz2. In this file, for instance contains numbers ranging from 1 to 40 like this: 1 2 3 . . . 40 Now, To view the contents of this file execute the following command: bzmore filename.bz2 This command prints a screenful of text on the terminal. Options: These options are executed on the '--More--' statement present in the end of the terminal. d : It displays 11 more lines on the terminal. It means a 11 lines scroll is performed. Input:dOutput: i(space) : It displays i more lines on the terminal. If no i is given, it shows another screenful scroll. Here, i is an integer argument, defaulting to 1. Input:4(space)Output: iz : This option displays i more lines same as i(space) and the scroll is now set to i. Input:5zOutput: is : It skips i number of lines and prints the lines according to the previously saved i. If no i is given, it then print screenful of lines. Input:2sOutput: Note: The previously saved i in option3 was 5, so this options skipped 2 lines as commanded and then a 5 line scroll is printed.if : This option skips whole i screenfuls and print a screenful of lines. If i is already saved using previous commands, this command skips i(previous) * i(present) lines and print a screenful of lines. Example 1: In this example, no i is previously saved. Input:.1fOutput: Example 2: In this example, i=2 is saved previously using the command 2z. Input:2fOutput: Note: 4 ( 2*2 ) lines are skipped on the terminal and 2 lines are printed because of the previously saved i=2.q : This command lets quit the reading of the current file. Input:qOutput: = (equals): It shows the current line number on the terminal. Input:=Output: . (dot) : This command repeats the previously entered command. Input:.Output: Note: The previously entered command was 2(space), so two lines are printed and then by using .(dot) command previously entered command is repeated.--help: It displays help information. Syntax :$ bzmore --helpOutput: --version: It displays version information. Syntax:$ bzmore --versionOutput: Create Quiz Comment R raghavmangal22 Follow 1 Improve R raghavmangal22 Follow 1 Improve Article Tags : Linux-Unix Explore Getting Started with LinuxIntoduction to Linux Operating System7 min readLINUX Full Form - Lovable Intellect Not Using XP2 min readDifference between Linux and Windows7 min readLinux Distributions6 min readDifference between Unix and Linux6 min readInstallation with LinuxInstallation of Arch Linux in VirtualBox4 min readFedora Linux Operating System5 min readHow to install Ubuntu on VirtualBox?6 min readHow to Install Linux Mint?3 min readInstallation of Kali Linux in Virtual Machine2 min readHow to Install Linux on Windows PowerShell Subsystem?2 min readHow to Find openSUSE Linux Version?2 min readInstallation of CentOS2 min readLinux CommandsLinux Commands15+ min readEssential Unix Commands7 min readFind Command in Linux with Examples7 min readLinux File SystemLinux File System12 min readLinux File Hierarchy Structure5 min readLinux Directory Structure6 min readLinux KernelLinux Kernel4 min readKernel in Operating System3 min readHow Linux Kernel Boots?11 min readDifference between Operating System and Kernel3 min readLinux Kernel Module Programming: Hello World Program7 min readLinux Loadable Kernel Module7 min readLoadable Kernel Module - Linux Device Driver Development4 min readLinux Networking ToolsNetwork configuration and troubleshooting commands in Linux5 min readHow to configure network interfaces in CentOS?5 min readCommand-Line Tools and Utilities For Network Management in Linux8 min readLinux - Network Monitoring Tools4 min readLinux ProcessProcesses in Linux/Unix5 min readHow to Manage Process in Linux4 min readGetting System and Process Information Using C Programming and Shell in Linux2 min readProcess states and Transitions in a UNIX Process4 min readLinux FirewallLINUX Firewall7 min readiptables command in Linux with Examples7 min readHow to Configure your Linux Firewall - 3 Methods12 min readShell Scripting & Bash ScriptingIntroduction to Linux Shell and Shell Scripting7 min readUnderstanding Terminal, Console, Shell and Kernel3 min readHow to Create a Shell Script in linux7 min readShell Scripting - Different types of Variables4 min readBash Scripting - Introduction to Bash and Bash Scripting12 min readBash Script - Define Bash Variables and its types12 min readShell Scripting - Shell Variables6 min readBash Script - Difference between Bash Script and Shell Script4 min readShell Scripting - Difference between Korn Shell and Bash shell3 min readShell Scripting - Interactive and Non-Interactive Shell3 min readShell Script to Show the Difference Between echo â$SHELLâ and echo â$SHELLâ4 min readLinux Administrator SystemWhat is Linux System Administration?6 min readBeginner's Guide to Linux System Administration5 min readHow to Monitor System Usage, Outages and Troubleshoot Linux Servers6 min readLinux - Systemd and its Components3 min readBoot Process with Systemd in Linux3 min readHow to Control Systemd Services on Remote Linux Server2 min readHow to Start, Stop and Restart Services in Linux Using systemctl Command9 min read Like