1

When reading man pages, a lot of extra characters are shown on screen. Which of the following commands can help to deal with this problem?

  1. grep
  2. pg
  3. more
  4. row
  5. col

I think it's more but I'm not sure.

1
  • Try this: LANG=C man some_command, leave the rest untouched during this test.
    – jippie
    May 11, 2012 at 9:23

1 Answer 1

1

more is used for pagination. Say you need to read some long output by page and press enter to goto next content. If this is what is meant by your question then yes more is the option. [more manpage].

try man grep & man grep | more - you will know the difference.

grep is used for filtering. [grep manpage]

3
  • 3
    Yes there is a difference and doing man grep | more is worse. By default man will use less. And less is more than more. May 11, 2012 at 7:15
  • less is used by default anyway. I am not sure the OP would gain anything by piping to more.
    – haziz
    Feb 1, 2014 at 16:58
  • @haziz if you use custom shell colors it does ;) Jul 5, 2016 at 23:26

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .