缺少“ifconfig”的联机帮助页

cyc*_*hoi 7 ifconfig manpage

$ man ifconfig
No manual entry for ifconfig
See 'man 7 undocumented' for help when manual pages are not available.

$ dpkg -l | grep -i manpages
ii  manpages                            3.54-1ubuntu1                all          Manual pages about using a GNU/Linux system
ii  manpages-dev                        3.54-1ubuntu1                all          Manual pages about using GNU/Linux for development
ii  manpages-posix                      2.16-1                       all          Manual pages about using POSIX system
ii  manpages-posix-dev                  2.16-1                       all          Manual pages about using a POSIX system for development
Run Code Online (Sandbox Code Playgroud)

如何在 Ubuntu 13.10 上安装 ifconfig 联机帮助页?

cyc*_*hoi 6

问题已通过重新安装“net-tools”软件包解决。造成此类问题的可能原因可能是之前的安装有偏差。

$ sudo apt-get install --reinstall net-tools
Run Code Online (Sandbox Code Playgroud)

PS:当时我在研究这个问题的解决方案的时候,我发现我需要知道这个命令属于哪个包。这是你如何做到的:

$ dpkg -S `which ifconfig`
Run Code Online (Sandbox Code Playgroud)