6 ms·
When tmux might be handy: If you find yourself doing repetitive things in those 6 windows. Say they are production machines that are basically clones of one a
by tyingq 11y ago
When tmux might be handy:
If you find yourself doing repetitive things in those 6 windows. Say they are production machines that are basically clones of one another. It's simple to make a key binding that will force all 6 windows to, for example, "tail -f /var/log/messages". Or start "top" on all of them.
If you kick off a long running task (say a big build) in one of those six windows, and you leave it running, but go home and watch it finish. (detach/reattach). It's easier than stdout/stderr redirection, nohup, etc. It also preserves things you did manually (setting environment variables before the build) such that restarting a build might be less complex.
You have a peer, not close by, that you want to show how to do something. It has both read only and read/write session sharing. Your peer can watch what you're doing, or you can watch them, and take over when needed.