bzless command in Linux with examples

bzless is a command similar to bzmore, but it has many more features. bzless does not have to read the entire input file before starting, so with a large file, it starts up faster than text editors like vi. bzless uses termcap (or terminfo on some systems), so it can run on a variety of terminals. Similar to bzmore it works on both types of files(compressed or uncompressed).

Note: Press space to see more or ctrl+z to close the file. bzless uses the same options as bzmore.

Use of Different keys:

  • i” key is pressed in order to read more lines.
  • ^D” is used to display 11 more lines. If i is given, then the scroll size is set to i.
  • d” works same as ^D.
  • iz” works same as typing a space except that i, if present, becomes the new window size.
  • q” or “Q” to quit reading the current file and go on to the next (if any file is present).
  • e” or “q” is pressed when the prompt –More–(Next file: file) is printed, this command causes bzmore to exit.
  • s” is pressed when the prompt –More–(Next file: file) is printed, this command causes bzmore to skip the next file and continue.
  • .“(dot) repeat the previous command.

Syntax:

bzless [less_options] file...

Example:



My Personal Notes arrow_drop_up

Check out this Author's contributed articles.

If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.

Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.



Improved By : raghavmangal22



Article Tags :

Be the First to upvote.


Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.