bzcmp command in Linux with examples Last Updated : 15 May, 2019 Comments Improve Suggest changes Like Article Like Report The bzcmp utility is used to invoke the cmp utility on bzip2 compressed files. All options specified are passed directly to cmp. As internally bzcmp calls cmp, We can pass the cmp command options to bzcmp. If only one file is specified, then the files compared are file1 and an uncompressed file1.bz2. If two files are specified, then they are uncompressed if necessary and fed to cmp. Syntax: bzcmp [cmp_options] file [file] Example 1: Comparing two files as follows: Create the two files as follows: Contents of file1: "GeeksForGeeks bzcmp example file1." Contents of file2: "GeeksForGeeks bzcmp example file2." Now compressing both the files. After that compares both the files as follows: In the above example, bzcmp compares the file1.bz2 and file2.bz2 and returns the first-byte position where the data differs. Example 2: Here, we will use bzcmp with Single parameter. Edit the compressed file file1.bz2 and replace the content from "GeeksForGeeks bzcmp example file1." to "GeeksForGeeks bzcmp example file1 changed." and execute the following command. bzcmp utility compares the file1.bz2 and file1. Note: The output from cmp refers to temporary file name instead of a specified filename. To check the difference of contents in compressed(bz2) files you can use bzdiff command. Comment More infoAdvertise with us shitalpatil94612 Follow Improve Article Tags : Linux-Unix Similar Reads automake command in Linux with Examples automake is a tool used for automatically generating Makefile.in files compliant with the set GNU Coding Standards. autoconf is required for the use of automake. automake manual can either be read on-line or downloaded in the PDF format. More formats are also offered for download or on-line reading. 1 min read autoreconf command in Linux with examples autoreconf is a Autotool which is used to create automatically buildable source code for Unix-like systems. Autotool is a common name for autoconf, automake, etc. These all together are termed as Autotools. Important Points: Provides Portability of source code packages by automatic buildable capabil 2 min read AWK command in Unix/Linux with examples Awk is a scripting language used for manipulating data and generating reports. The awk command programming language requires no compiling and allows the user to use variables, numeric functions, string functions, and logical operators. Awk is a utility that enables a programmer to write tiny but eff 8 min read banner command in Linux with examples The 'banner' command in Linux is a simple yet powerful utility used to display text in large ASCII characters on the terminal. This command can be particularly useful for creating prominent messages or headings within scripts and outputs.Syntax of the 'banner' Commandbanner textbanner 'Command' Exam 3 min read basename Command in Linux with examples The 'basename' command in Linux is a fundamental utility used in file manipulation and script writing. It simplifies file paths by stripping directory information and optional suffixes from file names. Here a detailed overview of the 'basename' command, including its syntax, options, and practical u 3 min read batch command in Linux with Examples batch command is used to read commands from standard input or a specified file and execute them when system load levels permit i.e. when the load average drops below 1.5. Syntax: batch It is important to note that batch does not accepts any parameters. Other Similar Commands: atq: Used to display th 1 min read bc command in Linux with examples bc command is used for command line calculator. It is similar to basic calculator by using which we can do basic mathematical calculations. Arithmetic operations are the most basic in any kind of programming language. Linux or Unix operating system provides the bc command and expr command for doing 11 min read bg command in Linux with Examples In Linux, the bg command is a useful tool that allows you to manage and move processes between the foreground and background. It's especially helpful when you want to multitask in the terminal by placing a process in the background, enabling you to continue using the terminal for other commands whil 3 min read biff command in Linux If you're working on a Unix or Linux terminal and want instant alerts for incoming emails then the biff command is just what you need. Originally built for early Unix systems, biff is a lightweight terminal-based mail notification tool that instantly pops up when new mail arrives. It gets its name f 3 min read bind command in Linux with Examples bind command is a Bash shell builtin command. It is used to set Readline key bindings and variables. The keybindings are the keyboard actions that are bound to a function. So it can be used to change how the bash will react to keys or combinations of keys, being pressed on the keyboard. Here, weâll 4 min read Like