use*_*450 7 command-line gnome-terminal manpage
我知道是什么x-terminal-emulator和做什么,但我不明白为什么不存在一个特殊的手册页,而是将其重定向到gnome-terminal. 我想看一个手册页,解释x-terminal-emulator究竟做了什么,并在该页中引用了man gnome-terminal.
这是正确的(如果是,那么为什么,例如,输出man dir不返回输出man ls)?这个事实背后有什么好的动机吗?
x-terminal-emulator是一个虚拟 包。终端模拟器由 Debian 的替代系统配置。
在 Ubuntu 上,您可以轻松地遵循此符号链接构造,例如对于 gnome-terminal:
$ which x-terminal-emulator
/usr/bin/x-terminal-emulator
$ ls -lF /usr/bin/x-terminal-emulator
/usr/bin/x-terminal-emulator -> /etc/alternatives/x-terminal-emulator*
$ ls -al /etc/alternatives/x-terminal-emulator
/etc/alternatives/x-terminal-emulator -> /usr/bin/gnome-terminal.wrapper*
Run Code Online (Sandbox Code Playgroud)
现在关于手册页,update-alternatives还gnome-terminal可以x-terminal-emulator按照update-alternatives手册中的说明链接to的手册页:
Run Code Online (Sandbox Code Playgroud)It is often useful for a number of alternatives to be synchronized, so that they are changed as a group; for example, when several versions of the vi(1) editor are installed, the man page referenced by /usr/share/man/man1/vi.1 should correspond to the executable referenced by /usr/bin/vi. update-alternatives handles this by means of master and slave links; when the master is changed, any associated slaves are changed too. A master link and its associated slaves make up a link group.