{"id":73,"date":"2022-08-08T09:42:50","date_gmt":"2022-08-08T09:42:50","guid":{"rendered":"https:\/\/obambu.com\/tutos\/wordpress\/?p=73"},"modified":"2022-08-08T09:42:51","modified_gmt":"2022-08-08T09:42:51","slug":"guide-sur-tmux-cheat-sheet","status":"publish","type":"post","link":"https:\/\/obambu.com\/tutos\/guide-sur-tmux-cheat-sheet\/","title":{"rendered":"Guide sur Tmux cheat sheet"},"content":{"rendered":"\n<p>Tmux est l&#8217;abr\u00e9viation de terminal multiplexer. Il s&#8217;agit d&#8217;un outil qui vous permet de diviser une fen\u00eatre de terminal en plusieurs autres. Cela vous permet de terminer vos t\u00e2ches beaucoup plus rapidement et de g\u00e9rer plusieurs terminaux en m\u00eame temps pour augmenter votre productivit\u00e9 et votre efficacit\u00e9. Dans cet article, nous allons vous montrer comment utiliser l&#8217;antis\u00e8che tmux.<\/p>\n\n\n\n<p>Alors, si vous \u00eates un administrateur syst\u00e8me, \u00e9coutez bien !<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Comment installer Tmux ?<\/h2>\n\n\n\n<p>Tmux est une application tr\u00e8s facile \u00e0 installer. Pour le faire, vous devez d&#8217;abord acc\u00e9der \u00e0 votre serveur <strong><a href=\"http:\/\/obambu.com\/en\/vps-server\/\" target=\"_blank\" rel=\"noreferrer noopener\">VPS<\/a><\/strong>. Ensuite, vous devez ajouter sudo \u00e0 la commande (l&#8217;installation de Tmux n\u00e9cessite des privil\u00e8ges d&#8217;administrateur).<\/p>\n\n\n\n<p>D&#8217;abord, ex\u00e9cutez cette commande pour installer :<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo apt-get install tmux<\/pre>\n\n\n\n<p>Confirmez ensuite la version install\u00e9e pour vous assurer qu&#8217;elle s&#8217;est install\u00e9e correctement :<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">tmux -V<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Tmux cheat sheet<\/h2>\n\n\n\n<p>L&#8217;application devrait \u00eatre pr\u00eate \u00e0 \u00eatre utilis\u00e9e. Maintenant, nous allons entrer dans l&#8217;aide-m\u00e9moire et vous montrer quelques commandes de base que vous pouvez utiliser pour commencer \u00e0 utiliser Tmux :<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">D\u00e9marrer\/terminer des sessions sur Tmux<\/h3>\n\n\n\n<p>Pour d\u00e9marrer une nouvelle session, vous devez taper :<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">tmux<\/pre>\n\n\n\n<p>Commencer une sesi\u00f3n <strong>avec un nom :<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">tmux new -s [name]<\/pre>\n\n\n\n<p>D\u00e9marrage d&#8217;une session jointe :<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">tmux a #<\/pre>\n\n\n\n<p>Si la session a un nom :<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">tmux attach -t [name]<\/pre>\n\n\n\n<p>Pour lister toutes les sessions<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">tmux ls<\/pre>\n\n\n\n<p>Exit:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">exit<\/pre>\n\n\n\n<p>S\u00e9ance d&#8217;abattage :<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">tmux kill-session -t [name]<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Fonctionnement des fen\u00eatres<\/h3>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><td><strong>Command<\/strong><\/td><td><strong>Description<\/strong><\/td><\/tr><\/thead><tbody><tr><td>w<\/td><td>list windows and select one<\/td><\/tr><tr><td>,<\/td><td>rename window<\/td><\/tr><tr><td>c or N<\/td><td>create new window<\/td><\/tr><tr><td>n<\/td><td>go to next window<\/td><\/tr><tr><td>p<\/td><td>go to previous window<\/td><\/tr><tr><td>f<\/td><td>find window<\/td><\/tr><tr><td>&amp;<\/td><td>kill window<\/td><\/tr><tr><td>0-9<\/td><td>go to window 0-9<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Fonctionnement du volet<\/h3>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><td><strong>Command<\/strong><\/td><td><strong>Description<\/strong><\/td><\/tr><\/thead><tbody><tr><td>%<\/td><td>vertical split<\/td><\/tr><tr><td>\u2018\u2019<\/td><td>horizontal split<\/td><\/tr><tr><td>x<\/td><td>kill pane<\/td><\/tr><tr><td>o<\/td><td>go to next pane<\/td><\/tr><tr><td>h, j, k, l<\/td><td>go to next pane in vim-style<\/td><\/tr><tr><td>z<\/td><td>toggle full-screen mode for current pane<\/td><\/tr><tr><td>arrow keys<\/td><td>resize the pane<\/td><\/tr><tr><td>q<\/td><td>show pane-numbers<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>Apr\u00e8s avoir pris connaissance de ces commandes simples, vous \u00eates pr\u00eat \u00e0 utiliser Tmux pour exploiter votre terminal de mani\u00e8re plus productive. Bien que ce ne soit que la base dont vous avez besoin pour le travail quotidien, vous pouvez apprendre des commandes plus complexes sur le <strong><a href=\"https:\/\/tmuxguide.readthedocs.io\/en\/latest\/tmux\/tmux.html\" target=\"_blank\" rel=\"noreferrer noopener\">guide officiel<\/a><\/strong>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Tmux est l&#8217;abr\u00e9viation de terminal multiplexer. Il s&#8217;agit d&#8217;un outil qui vous permet de diviser une fen\u00eatre de terminal en plusieurs autres. Cela vous permet de terminer vos t\u00e2ches beaucoup plus rapidement et de g\u00e9rer plusieurs terminaux en m\u00eame temps pour augmenter votre productivit\u00e9 et votre efficacit\u00e9. Dans cet article, nous allons vous montrer comment<\/p>\n","protected":false},"author":1,"featured_media":74,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":{"0":"post-73","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-uncategorized"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v19.5.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Guide sur Tmux cheat sheet - Tutoriels d\u00b4Obambu<\/title>\n<meta name=\"description\" content=\"Tmux est un outil qui divise les fen\u00eatres de terminal pour maximiser la productivit\u00e9. Vous pouvez apprendre \u00e0 l&#039;utiliser via l&#039;antis\u00e8che tmux\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/obambu.com\/tutos\/guide-sur-tmux-cheat-sheet\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Guide sur Tmux cheat sheet - Tutoriels d\u00b4Obambu\" \/>\n<meta property=\"og:description\" content=\"Tmux est un outil qui divise les fen\u00eatres de terminal pour maximiser la productivit\u00e9. Vous pouvez apprendre \u00e0 l&#039;utiliser via l&#039;antis\u00e8che tmux\" \/>\n<meta property=\"og:url\" content=\"https:\/\/obambu.com\/tutos\/guide-sur-tmux-cheat-sheet\/\" \/>\n<meta property=\"og:site_name\" content=\"Tutoriels d\u00b4Obambu\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/facebook.com\/Obambu\" \/>\n<meta property=\"article:published_time\" content=\"2022-08-08T09:42:50+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-08-08T09:42:51+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/obambu.com\/tutos\/wp-content\/uploads\/2022\/08\/mgthz4zlc1u.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"800\" \/>\n\t<meta property=\"og:image:height\" content=\"1200\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@Obambu\" \/>\n<meta name=\"twitter:site\" content=\"@Obambu\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/obambu.com\/tutos\/guide-sur-tmux-cheat-sheet\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/obambu.com\/tutos\/guide-sur-tmux-cheat-sheet\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\/\/obambu.com\/tutos\/#\/schema\/person\/a76aa43703f3eab04804131eedf650f2\"},\"headline\":\"Guide sur Tmux cheat sheet\",\"datePublished\":\"2022-08-08T09:42:50+00:00\",\"dateModified\":\"2022-08-08T09:42:51+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/obambu.com\/tutos\/guide-sur-tmux-cheat-sheet\/\"},\"wordCount\":324,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/obambu.com\/tutos\/#organization\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/obambu.com\/tutos\/guide-sur-tmux-cheat-sheet\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/obambu.com\/tutos\/guide-sur-tmux-cheat-sheet\/\",\"url\":\"https:\/\/obambu.com\/tutos\/guide-sur-tmux-cheat-sheet\/\",\"name\":\"Guide sur Tmux cheat sheet - Tutoriels d\u00b4Obambu\",\"isPartOf\":{\"@id\":\"https:\/\/obambu.com\/tutos\/#website\"},\"datePublished\":\"2022-08-08T09:42:50+00:00\",\"dateModified\":\"2022-08-08T09:42:51+00:00\",\"description\":\"Tmux est un outil qui divise les fen\u00eatres de terminal pour maximiser la productivit\u00e9. Vous pouvez apprendre \u00e0 l'utiliser via l'antis\u00e8che tmux\",\"breadcrumb\":{\"@id\":\"https:\/\/obambu.com\/tutos\/guide-sur-tmux-cheat-sheet\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/obambu.com\/tutos\/guide-sur-tmux-cheat-sheet\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/obambu.com\/tutos\/guide-sur-tmux-cheat-sheet\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/obambu.com\/tutos\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Guide sur Tmux cheat sheet\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/obambu.com\/tutos\/#website\",\"url\":\"https:\/\/obambu.com\/tutos\/\",\"name\":\"Tutoriels d\u00b4Obambu\",\"description\":\"Vous pouvez trouver sur ce site des articles et des tutoriels sur des sujets li\u00e9s \u00e0 l&#039;h\u00e9bergement web, \u00e0 l&#039;internet et aux nouvelles technologies.\",\"publisher\":{\"@id\":\"https:\/\/obambu.com\/tutos\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/obambu.com\/tutos\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/obambu.com\/tutos\/#organization\",\"name\":\"Obambu SARL\",\"url\":\"https:\/\/obambu.com\/tutos\/\",\"sameAs\":[\"https:\/\/facebook.com\/Obambu\",\"https:\/\/twitter.com\/Obambu\"],\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/obambu.com\/tutos\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/obambu.com\/tutos\/wordpress\/wp-content\/uploads\/2022\/08\/logo-big.png\",\"contentUrl\":\"https:\/\/obambu.com\/tutos\/wordpress\/wp-content\/uploads\/2022\/08\/logo-big.png\",\"width\":680,\"height\":140,\"caption\":\"Obambu SARL\"},\"image\":{\"@id\":\"https:\/\/obambu.com\/tutos\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/obambu.com\/tutos\/#\/schema\/person\/a76aa43703f3eab04804131eedf650f2\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/obambu.com\/tutos\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/59b7ebc27c75299568b133fe3d2c834eb66dd4076cf1dd44a69b71fc66ca1213?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/59b7ebc27c75299568b133fe3d2c834eb66dd4076cf1dd44a69b71fc66ca1213?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"sameAs\":[\"https:\/\/obambu.com\/tutos\/wordpress\"],\"url\":\"https:\/\/obambu.com\/tutos\/author\/admin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Guide sur Tmux cheat sheet - Tutoriels d\u00b4Obambu","description":"Tmux est un outil qui divise les fen\u00eatres de terminal pour maximiser la productivit\u00e9. Vous pouvez apprendre \u00e0 l'utiliser via l'antis\u00e8che tmux","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/obambu.com\/tutos\/guide-sur-tmux-cheat-sheet\/","og_locale":"en_US","og_type":"article","og_title":"Guide sur Tmux cheat sheet - Tutoriels d\u00b4Obambu","og_description":"Tmux est un outil qui divise les fen\u00eatres de terminal pour maximiser la productivit\u00e9. Vous pouvez apprendre \u00e0 l'utiliser via l'antis\u00e8che tmux","og_url":"https:\/\/obambu.com\/tutos\/guide-sur-tmux-cheat-sheet\/","og_site_name":"Tutoriels d\u00b4Obambu","article_publisher":"https:\/\/facebook.com\/Obambu","article_published_time":"2022-08-08T09:42:50+00:00","article_modified_time":"2022-08-08T09:42:51+00:00","og_image":[{"width":800,"height":1200,"url":"https:\/\/obambu.com\/tutos\/wp-content\/uploads\/2022\/08\/mgthz4zlc1u.jpg","type":"image\/jpeg"}],"author":"admin","twitter_card":"summary_large_image","twitter_creator":"@Obambu","twitter_site":"@Obambu","twitter_misc":{"Written by":"admin","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/obambu.com\/tutos\/guide-sur-tmux-cheat-sheet\/#article","isPartOf":{"@id":"https:\/\/obambu.com\/tutos\/guide-sur-tmux-cheat-sheet\/"},"author":{"name":"admin","@id":"https:\/\/obambu.com\/tutos\/#\/schema\/person\/a76aa43703f3eab04804131eedf650f2"},"headline":"Guide sur Tmux cheat sheet","datePublished":"2022-08-08T09:42:50+00:00","dateModified":"2022-08-08T09:42:51+00:00","mainEntityOfPage":{"@id":"https:\/\/obambu.com\/tutos\/guide-sur-tmux-cheat-sheet\/"},"wordCount":324,"commentCount":0,"publisher":{"@id":"https:\/\/obambu.com\/tutos\/#organization"},"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/obambu.com\/tutos\/guide-sur-tmux-cheat-sheet\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/obambu.com\/tutos\/guide-sur-tmux-cheat-sheet\/","url":"https:\/\/obambu.com\/tutos\/guide-sur-tmux-cheat-sheet\/","name":"Guide sur Tmux cheat sheet - Tutoriels d\u00b4Obambu","isPartOf":{"@id":"https:\/\/obambu.com\/tutos\/#website"},"datePublished":"2022-08-08T09:42:50+00:00","dateModified":"2022-08-08T09:42:51+00:00","description":"Tmux est un outil qui divise les fen\u00eatres de terminal pour maximiser la productivit\u00e9. Vous pouvez apprendre \u00e0 l'utiliser via l'antis\u00e8che tmux","breadcrumb":{"@id":"https:\/\/obambu.com\/tutos\/guide-sur-tmux-cheat-sheet\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/obambu.com\/tutos\/guide-sur-tmux-cheat-sheet\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/obambu.com\/tutos\/guide-sur-tmux-cheat-sheet\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/obambu.com\/tutos\/"},{"@type":"ListItem","position":2,"name":"Guide sur Tmux cheat sheet"}]},{"@type":"WebSite","@id":"https:\/\/obambu.com\/tutos\/#website","url":"https:\/\/obambu.com\/tutos\/","name":"Tutoriels d\u00b4Obambu","description":"Vous pouvez trouver sur ce site des articles et des tutoriels sur des sujets li\u00e9s \u00e0 l&#039;h\u00e9bergement web, \u00e0 l&#039;internet et aux nouvelles technologies.","publisher":{"@id":"https:\/\/obambu.com\/tutos\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/obambu.com\/tutos\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/obambu.com\/tutos\/#organization","name":"Obambu SARL","url":"https:\/\/obambu.com\/tutos\/","sameAs":["https:\/\/facebook.com\/Obambu","https:\/\/twitter.com\/Obambu"],"logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/obambu.com\/tutos\/#\/schema\/logo\/image\/","url":"https:\/\/obambu.com\/tutos\/wordpress\/wp-content\/uploads\/2022\/08\/logo-big.png","contentUrl":"https:\/\/obambu.com\/tutos\/wordpress\/wp-content\/uploads\/2022\/08\/logo-big.png","width":680,"height":140,"caption":"Obambu SARL"},"image":{"@id":"https:\/\/obambu.com\/tutos\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/obambu.com\/tutos\/#\/schema\/person\/a76aa43703f3eab04804131eedf650f2","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/obambu.com\/tutos\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/59b7ebc27c75299568b133fe3d2c834eb66dd4076cf1dd44a69b71fc66ca1213?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/59b7ebc27c75299568b133fe3d2c834eb66dd4076cf1dd44a69b71fc66ca1213?s=96&d=mm&r=g","caption":"admin"},"sameAs":["https:\/\/obambu.com\/tutos\/wordpress"],"url":"https:\/\/obambu.com\/tutos\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/obambu.com\/tutos\/wp-json\/wp\/v2\/posts\/73","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/obambu.com\/tutos\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/obambu.com\/tutos\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/obambu.com\/tutos\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/obambu.com\/tutos\/wp-json\/wp\/v2\/comments?post=73"}],"version-history":[{"count":1,"href":"https:\/\/obambu.com\/tutos\/wp-json\/wp\/v2\/posts\/73\/revisions"}],"predecessor-version":[{"id":75,"href":"https:\/\/obambu.com\/tutos\/wp-json\/wp\/v2\/posts\/73\/revisions\/75"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/obambu.com\/tutos\/wp-json\/wp\/v2\/media\/74"}],"wp:attachment":[{"href":"https:\/\/obambu.com\/tutos\/wp-json\/wp\/v2\/media?parent=73"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/obambu.com\/tutos\/wp-json\/wp\/v2\/categories?post=73"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/obambu.com\/tutos\/wp-json\/wp\/v2\/tags?post=73"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}