Muck It Up With Tmux
Using and Configuring Tmux
To start tmux, just run
tmux new-session if you're feeling verbose. Then you'll have a session with one window and your usual login shell. To add a second window, run
Ctrl-b c. (Same thing if you want a third, fourth, and so on.)
If you'd like to split your window into panes, each with its own shell, run
Ctrl-b " to split the window into two panes. That will split your
tmux session horizontally. If you prefer vertically, you can use
Ctrl-b %. To move between panes use
Now, all of the windows that are running in
tmux are in one session. If you start a second instance of tmux in another xterm or virtual console on the same machine, you've got a second session. You can see all of the sessions that are running by using
Ctrl-s. This will give a menu of all sessions and show how many windows are running in each session.
Joe 'Zonker' Brockmeier is a freelance writer and editor with more than 10 years covering IT. Formerly the openSUSE Community Manager for Novell, Brockmeier has written for Linux Magazine, Sys Admin, Linux Pro Magazine, IBM developerWorks, Linux.com, CIO.com, Linux Weekly News, ZDNet, and many other publications. You can reach Zonker at firstname.lastname@example.org and follow him on Twitter.
Read "Get Hands-on With Tmux" at ServerWatch
Solid state disks (SSDs) made a splash in consumer technology, and now the technology has its eyes on the enterprise storage market. Download this eBook to see what SSDs can do for your infrastructure and review the pros and cons of this potentially game-changing storage technology.
- 1Linux Top 3: RHEL 6.7, BackBox Linux 4.3 and RoboLinux 8.1
- 2Linux Top 3: SLES 11 SP4, Chromixium OS 1.5 and Canonical Licensing
- 3Linux Top 3: VirtualBox 5, Point Linux 3.0 and OpenSUSE Leap 42.x
- 4Linux Top 3: Linux 4.2 rc1, 4MLinux 13 and antiX15
- 5Linux Top 3: Linux Mint Rafaela, OpenMandriva Lx 2014.2 and VectorLinux 7.1