{"id":15457,"date":"2011-08-31T12:57:22","date_gmt":"2011-08-31T10:57:22","guid":{"rendered":"https:\/\/mamchenkov.net\/wordpress\/?p=15457"},"modified":"2011-08-31T12:57:22","modified_gmt":"2011-08-31T10:57:22","slug":"tmux-linux-terminal-multiplexer","status":"publish","type":"post","link":"https:\/\/mamchenkov.net\/wordpress\/2011\/08\/31\/tmux-linux-terminal-multiplexer\/","title":{"rendered":"tmux &#8211; Linux terminal multiplexer"},"content":{"rendered":"<!-- google_ad_section_start -->\n<p>I stumbled upon a very useful tool &#8211; <a href=\"http:\/\/tmux.sourceforge.net\/\">tmux<\/a>. \u00a0It is a terminal multiplexer for Linux. \u00a0If you are using <a href=\"http:\/\/www.tenshu.net\/p\/terminator.html\">Terminator<\/a> or <a href=\"http:\/\/www.gnu.org\/s\/screen\/\">screen<\/a>, you&#8217;d want to check it out. If you don&#8217;t use either of those, you definitely need to check it out.<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2011\/08\/tmux3.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"15458\" data-permalink=\"https:\/\/mamchenkov.net\/wordpress\/2011\/08\/31\/tmux-linux-terminal-multiplexer\/tmux3\/\" data-orig-file=\"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2011\/08\/tmux3.png?fit=1268%2C788&amp;ssl=1\" data-orig-size=\"1268,788\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"tmux\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2011\/08\/tmux3.png?fit=660%2C410&amp;ssl=1\" class=\"aligncenter size-medium wp-image-15458\" title=\"tmux\" src=\"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2011\/08\/tmux3-500x310.png?resize=500%2C310&#038;ssl=1\" alt=\"\" width=\"500\" height=\"310\" srcset=\"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2011\/08\/tmux3.png?resize=500%2C310&amp;ssl=1 500w, https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2011\/08\/tmux3.png?resize=1024%2C636&amp;ssl=1 1024w, https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2011\/08\/tmux3.png?w=1268&amp;ssl=1 1268w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><\/a><\/p>\n<p>With tmux, you can have a single shell in which you can create multiple sessions. \u00a0You can split each session into a number of windows. \u00a0You can detach from tmux and all your sessions and windows will remain open and running, much like with screen. \u00a0Later you can attach back to them again or you can start a totally new instance. \u00a0The interface is keyboard driven. \u00a0It is simple and intuitive, but as with any other tool, you&#8217;ll need a bit of time to get used to it.<\/p>\n<p>If you are a Fedora Linux user, all you have to do to try it out is: &#8216;<em>yum install tmux<\/em>&#8216;. \u00a0If you can read Russian, <a href=\"http:\/\/habrahabr.ru\/blogs\/linux\/126996\/#habracut\">here<\/a> is a quick introduction to most useful shortcuts. \u00a0Check the <a href=\"http:\/\/tmux.sourceforge.net\/\">official website<\/a> for the rest of the documentation.<\/p>\n<!-- google_ad_section_end -->\n","protected":false},"excerpt":{"rendered":"<!-- google_ad_section_start -->\n<p>I stumbled upon a very useful tool &#8211; tmux. \u00a0It is a terminal multiplexer for Linux. \u00a0If you are using Terminator or screen, you&#8217;d want to check it out. If you don&#8217;t use either of those, you definitely need to check it out. With tmux, you can have a single shell in which you can &hellip; <a href=\"https:\/\/mamchenkov.net\/wordpress\/2011\/08\/31\/tmux-linux-terminal-multiplexer\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">tmux &#8211; Linux terminal multiplexer<\/span><\/a><\/p>\n<!-- google_ad_section_end -->\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"_links_to":"","_links_to_target":""},"categories":[1,6,62],"tags":[1960,2351,1079],"keyring_services":[],"class_list":["post-15457","post","type-post","status-publish","format-standard","hentry","category-general","category-linux","category-technology","tag-command-line","tag-fedora-linux","tag-productivity"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":27338,"url":"https:\/\/mamchenkov.net\/wordpress\/2017\/02\/12\/i3-tiling-window-manager\/","url_meta":{"origin":15457,"position":0},"title":"i3 &#8211; tiling window manager","author":"Leonid Mamchenkov","date":"February 12, 2017","format":false,"excerpt":"In the last few days my attention was unfairly distributed between a whole lot of tasks. \u00a0The fragmentation and constant context switching affected my productivity, so I briefly revisited my toolbox setup, in hopes to find something that I didn't know about, forgot about, or have greatly underutilized. One of\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2017\/02\/i3-500x281.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":26914,"url":"https:\/\/mamchenkov.net\/wordpress\/2016\/11\/20\/terminology-split-screen-terminal-alternative-to-terminator\/","url_meta":{"origin":15457,"position":1},"title":"Terminology &#8211; split screen terminal alternative to Terminator","author":"Leonid Mamchenkov","date":"November 20, 2016","format":false,"excerpt":"If you are spending a lot of time in console, and have to manage multiple windows, there are a few options for you - screen, tmux, and, of course, Terminator. \u00a0Recently, I've come across one more - Terminology. Terminology is a console with built-in window multiplexing. \u00a0It feels a bit\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"terminology","src":"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2016\/11\/terminology-399x500.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":22464,"url":"https:\/\/mamchenkov.net\/wordpress\/2014\/09\/02\/tmux-resurrect-persists-tmux-environment-across-system-restarts\/","url_meta":{"origin":15457,"position":2},"title":"tmux-resurrect &#8211; persists tmux environment across system restarts","author":"Leonid Mamchenkov","date":"September 2, 2014","format":"link","excerpt":"tmux-resurrect - persists tmux environment across system restarts","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":26279,"url":"https:\/\/mamchenkov.net\/wordpress\/2016\/07\/24\/ssh-multiplexing-and-ansible-via-bastion-host\/","url_meta":{"origin":15457,"position":3},"title":"SSH multiplexing and Ansible via bastion host","author":"Leonid Mamchenkov","date":"July 24, 2016","format":false,"excerpt":"It never ceases to amaze me how even after years and years of working with some technologies I keep finding out about super useful features in those technologies, that could have saved me lots of time if I knew about them earlier. \u00a0Today was a day just like that. I\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":42801,"url":"https:\/\/mamchenkov.net\/wordpress\/2019\/07\/12\/termtosvg-record-terminal-sessions-as-svg-animations\/","url_meta":{"origin":15457,"position":4},"title":"termtosvg &#8211; record terminal sessions as SVG animations","author":"Leonid Mamchenkov","date":"July 12, 2019","format":false,"excerpt":"termtosvg (GitHub repo) is a handy little tool that makes recording animated sessions in the terminal as simple as humanly possible. Instead of generating heavy graphics or video animations, this tool creates SVG files, which are a lot smaller and easier. There is also a selection of themes to choose\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2019\/07\/termtosvg.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2019\/07\/termtosvg.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2019\/07\/termtosvg.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2019\/07\/termtosvg.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2019\/07\/termtosvg.png?resize=1050%2C600&ssl=1 3x, https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2019\/07\/termtosvg.png?resize=1400%2C800&ssl=1 4x"},"classes":[]},{"id":27458,"url":"https:\/\/mamchenkov.net\/wordpress\/2017\/03\/26\/ascinema-record-and-share-your-terminal-sessions-the-right-way\/","url_meta":{"origin":15457,"position":5},"title":"asciinema &#8211; record and share your terminal sessions, the right way","author":"Leonid Mamchenkov","date":"March 26, 2017","format":false,"excerpt":"asciinema is a tool to record terminal sessions and share them as videos. \u00a0But unlike many other tools that provide this functionality, ascinema does a very smart thing - instead of encoding the session into a video it interactively replays it in a text mode, which allows one to select\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2017\/03\/ascinema-500x228.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]}],"jetpack_sharing_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts\/15457","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/comments?post=15457"}],"version-history":[{"count":0,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts\/15457\/revisions"}],"wp:attachment":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/media?parent=15457"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/categories?post=15457"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/tags?post=15457"},{"taxonomy":"keyring_services","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/keyring_services?post=15457"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}