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: Ubuntu 14.04, Debian Gives Squeeze More Life and Red Hat Goes Atomic
- 2Linux Top 3: CoreOS, Oracle Enterprise Linux 7 and Ubuntu 14.10
- 3Linux Top 3: Debian Dumps SPARC, Ubuntu Takes Over Linux 3.13 and the Core Infrastructure Initiative
- 4Linux Top 3: Fedora, Ubuntu and Gluster Lose Community Leaders
- 5Red Hat Enterprise Linux 7 Finally Hits the Big Time