如何正确打开本地.8文件一样named.8用man命令?
我有man命令,也有.8文件。以我bind9/bin/named/named.8为例(可以在github上找到),我很确定自己以前能够做到。
在我的具体情况下,
$ man --version
man 2.7.5
$ man -C named.8
man: can't parse directory list `.\" Copyright (C) 2000, 2001, 2003-2009, 2011, 2013-2017 Internet Systems Consortium, Inc. ("ISC")
'
man: can't make sense of the manpath configuration file /etc/manpath.config
named.8 以。。开始:
.\" Copyright (C) 2000, 2001, 2003-2009, 2011, 2013-2017 Internet Systems Consortium, Inc. ("ISC")
.\"
.\" This Source Code Form is subject to the terms of the Mozilla Public
.\" License, v. 2.0. If a copy of the MPL was not distributed with this
.\" file, You can obtain one at http://mozilla.org/MPL/2.0/.
.\"
.hy 0
.ad l
'\" t
.\" Title: named
.\" Author:
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
.\" Date: 2014-02-19
.\" Manual: BIND9
我尝试Google搜索“如何打开.8文件”。结果为0,因此我认为应该有一个结果(问这个问题的理由比我是否只需要自己知道答案的理由好n倍,其中n是将来对该问题的搜索次数由任何人制作。)
Lok Lam Cheng的答案。