Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

less

Documentation on LESS_TERMCAP_* variables?

August 11, 2022 by Magenaut

I see these pretty colors in manpages viewed with less when setting a bunch of these variables. What do they mean, where is the documentation? Is this interpreted by less or termcap?

Categories Q&A, Unix & Linux Tags colors, less, man, termcap, terminal Leave a comment

How to scroll large datafile while keeping header

August 11, 2022 by Magenaut

Suppose I have some large datafile, which overflow the screen in both vertical and horizontal direction. How can I browse this file, while the header-lines stay on the screen?

Categories Q&A, Unix & Linux Tags less, pager, scrolling, vim Leave a comment

When to use grep, less, awk, sed

August 11, 2022 by Magenaut

I’m entering the world of Linux and at work I’m using grep more and more. By doing that I’m figuring out that sometimes it’s not adequate for what I want. I was struggling with grep a few days ago and a colleague of mine who is a senior Linux admin, told me to use awk. … Read more

Categories Q&A, Unix & Linux Tags awk, grep, less, sed Leave a comment

Is there any way to exit “less” follow mode without stopping other processes in pipe?

August 9, 2022 by Magenaut

Often times I find myself in need to have the output in a buffer with all the features (scrolling, searching, shortcuts, …) and I have grown accustomed to less.

Categories Q&A, Unix & Linux Tags job-control, less, pipe, shell, signals Leave a comment

less command and syntax highlighting

August 9, 2022 by Magenaut

I need to use the less command with the syntax highlighting of the vim command for python, C, bash and other languages.

Categories Q&A, Unix & Linux Tags bash, less, syntax-highlighting, vi, vim Leave a comment

Does “less” have a feature like “tail –follow=name” (“-F”)

August 9, 2022 by Magenaut

The command less can be used to replace tail in

Categories Q&A, Unix & Linux Tags less, pager, tail Leave a comment

How can I view gzipped files in less without having to type zless?

August 9, 2022 by Magenaut

I am using Ubuntu, and I would like to be able to type less compressed_text_file.gz and page the contents of the text file in uncompressed form. Is there a way to do this?

Categories Q&A, Unix & Linux Tags compression, less Leave a comment

How can I use man without less?

August 9, 2022 by Magenaut

By default, man uses less to output text. How can I tell it to just output to stdout? My terminal emulator has a scroll bar and search function and I want to use those instead of the arrow keys.

Categories Q&A, Unix & Linux Tags less, man Leave a comment

Isn’t less just more?

August 9, 2022 by Magenaut

When I do more filename and less filename, it would seem that the resulting terminals are quite similar. I can navigate and search through my files identically (j, Space, /pattern, etc.).

Categories Q&A, Unix & Linux Tags command-line, less, more Leave a comment

Write lines to a file from less

August 9, 2022 by Magenaut

While in vim I can write a range of lines from the file I’m viewing to another file. For example,

Categories Q&A, Unix & Linux Tags less, stdout Leave a comment
Older posts
Page1 Page2 Next →
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress