The Wayback Machine - https://web.archive.org/web/20230512155133/https://www.geeksforgeeks.org/bzless-command-in-linux-with-examples/
Skip to content
Related Articles
Get the best out of our app
GeeksforGeeks App
Open App
geeksforgeeks
Browser
Continue

Related Articles

bzless command in Linux with examples

Improve Article
Save Article
Like Article
Improve Article
Save Article
Like Article

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
Last Updated : 15 May, 2019
Like Article
Save Article
Similar Reads
Related Tutorials