Reading man man
indicate that the -m
switch or its counterpart the --systems
long switch may be used to specify a remote host to get man pages from.
The page also mentions the SYSTEM
environment variable to be used for the same purpose.
Apparently simply specifying a remote IP address as an argument to the switch isn't enough to achieve such a convenience.
I'd like to have more elaboration and real examples that would make one to read FreeBSD man pages on Linux for instance.
Best Answer
As already stated in the comments, I don't really believe that
-m
can display manpages from aremote
machine. To display amanpage
from a remote machine you need something like:or mount a part of the remote system using
nfs
as already suggested.The
-m
you're asking about makesman
look for manpages for other systems on the local system. For example: