当我有多个窗口时,如何将现有窗格移动到tmux 中的另一个窗口,反之亦然?
我来自screen,在那里我可以切换到窗格,然后切换窗口,直到到达我想要的那个;tmux似乎不允许这样做。
是否可以重定向命令的输出以将发送到 stdout 的文本替换为来自 stderr 的文本?
$ ./script
this line is redirected to stdout
this line is redirected to stderr
$ ./script (insert redirections here)
this line is redirected to stderr
Run Code Online (Sandbox Code Playgroud)
我知道我可以只使用1>/dev/null
,但我想知道是否有办法将 stderr 中的文本重定向到 stdout。