4 ms·
tmux is a terminal multiplexer - if you have ever used the `screen` command you already know what it is. I use a macbook pro with iterm2, and I prefer to use a
by scardine 10y ago
tmux is a terminal multiplexer - if you have ever used the `screen` command you already know what it is.
I use a macbook pro with iterm2, and I prefer to use a terminal multiplexer instead of tabs or the native screen split of iterm2.
If you ssh remote boxes a lot, it is very useful because you will not lose your session in case of an occasional disconnection.
- vlunkr 10y agoIterm2 also has a nice tmux integration. You can connect to a session but use native tabs and panes. It even works on remote servers over ssh. You just add a '-CC' arg. (You may also have to enable it in the prefs, don't remember for sure)
- scardine 10y agoIn fact I use byobu instead of plain tmux.
- namepros 10y agoI've never been able to get iTerm2's tmux integration to work well enough to warrant the bother.
- rajathagasthya 10y agoThis is what I usually do to connect to a remote server and enter a tmux session: ssh hostname -t "tmux -CC attach || tmux -CC" Of course, I picked this up from an HN comment :)
- bitwize 10y agoiTerm2 has tmux integration. No need to give up native tabs!