如何在另一个终端窗口中运行任何命令?
示例:我打开了一个终端窗口,如果我运行类似 的命令apropos editor,则它会在该窗口上运行并输出。但我想在另一个终端窗口(新窗口)上运行相同的命令,而不是在第一个终端的当前窗口上运行。
apropos editor
进一步说明: 我需要suggest-command <command>打开新的终端窗口并运行<command>该(新打开的)窗口中提到的。(suggest-command命令的建议示例在哪里。)
suggest-command <command>
<command>
suggest-command
怎么做?
command-line gnome-terminal execute-command
command-line ×1
execute-command ×1
gnome-terminal ×1