Which pager opens when we view man in terminal?

As we know, there are multiple pagers available like less, more, etc. So, I was wondering which pager opens when we view the manual of any command using:

man command

I do believe that it’s less, but I still want to confirm. Thanks!

Asked By: Akash


Because this answer can change as Ubuntu develops, I’ll provide a way to find out that will work now, and will also hopefully work in the future:

  1. At the terminal enter, man man
  2. At the bottom of the terminal, it should indicate how to view man‘s help. It’s typically the h key.
  3. Press that key.
  4. At the top of the page, it will tell you which pager is being employed. Right now, I see it’s less.
Answered By: End Antisemitic Hate