Hacker News new | ask | show | jobs
by njharman 4500 days ago
tmux is very scriptable. I have a shell script "go". go <box> opens new tux window splits it twice (3 total panes) all ssh'd into box, one as root, one tailing log files. The "go" script has grown over time, running custom log tails on specific boxes. And one command "vroom" which ssh's into web and db boxes running atop, apachetop, pg_activity in a bunch of panes.

It's just an example. Tux lets you automate interactive shells.

1 comments

I'd love to see that script. I'm a long time screen user and would love to find a few examples that'll show off what tmux makes easy.