我想创建一个简单的 tmux conf 来执行以下操作。
tail -f foo
tail -f bar
我怎样才能用 tmux 做到这一点。
这就是我所拥有的
#!/bin/sh
tmux new-session -s asdf -n myWindow
tmux select-window -t myWindow
tmux split-window "tail -f /var/log/apache2/samperror.log"
tmux attach-session -t asdf
Run Code Online (Sandbox Code Playgroud)
我想不出任何工作。所以我知道这一切都错了。有史以来最不直观的 conf 文件之一
tmux ×1