KoblentsBlog Photography
Contact About
Linux: man complements info
People seldom use the command
man
on Linux machines nowadays. We are accustomed to an equivalent command
info
, that for eons was slightly more convenient. There is a reason, though, to use command
man
much more often. Especially when we want to figure out something less routine and less obvious.
Sometimes the two commands print the same text, verbatim. However, it is not always so. Generally and often, they display different documents, that different people wrote at different times. Information presented vaguely or incomprehensible in one of them often is expressed much more clearly in another. Or important details are explained only in one of the sources. Or a code sample is provided. For example, commands
1
info select
and
1
man select | less
complement one another nicely.
Some subjects are covered only by
man
. On my machine
1
info ps
does not return anything useful, while
1
man ps | less
displays a rich documentation on command
ps
.
By the way, with recent distros,
man
became as convenient as
info
. There is no need anymore to pipe
man
to
less
:
1
man select
does exactly the same as
1
man select | less -is
You can check if it works on your machine.
Yuriy Koblents-Mishke
October 17, 2013
 
« Newer
© Copyright Koblents.com, 2012-2024