方法一:
显示从N(10)行到M(20)行
[root@ac ~]#> pathname
# MANPATH manpath_element [corresponding_catdir]
# MANPATH_MAP path_element manpath_element
#
方法二:
[root@ac ~]# sed -n '10,20p' /etc/man.config
# This file is read by man to configure the default manpath (also used
# when MANPATH contains an empty substring), to find out where the cat
# pages corresponding to given man pages should be stored,
# and to map each PATH element to a manpath element.
# It may also record the pathname of the man binary. [This is unused.]
# The format is:
#
# MANBIN pathname
# MANPATH manpath_element [corresponding_catdir]
# MANPATH_MAP path_element manpath_element
#
参考:
http://www.cnblogs.com/edwardlost/archive/2010/09/17/1829145.html