{"id":1554,"date":"2014-01-27T09:25:25","date_gmt":"2014-01-27T08:25:25","guid":{"rendered":"http:\/\/michauko.org\/blog\/?p=1554"},"modified":"2014-01-27T09:35:51","modified_gmt":"2014-01-27T08:35:51","slug":"commandes-mal-foutues-type-sqlplus-comment-rappeler-de-lhistorique","status":"publish","type":"post","link":"https:\/\/michauko.org\/blog\/commandes-mal-foutues-type-sqlplus-comment-rappeler-de-lhistorique-1554\/","title":{"rendered":"commandes mal foutues type sqlplus : comment rappeler de l&rsquo;historique ?"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/michauko.org\/blog\/wp-content\/uploads\/2014\/01\/bash-icone1.png\" alt=\"bash-icone\" width=\"200\" height=\"150\" class=\"alignleft size-full wp-image-1557\" \/>Quoi de plus p\u00e9nible qu&rsquo;un outil en ligne de commande qui ne permet pas de rappeler les commandes d\u00e9j\u00e0 tap\u00e9es ?<\/p>\n<p>J&rsquo;ai d\u00e9couvert l&rsquo;outil <strong>rlwrap<\/strong> (readline wrapper).<\/p>\n<p>Je n&rsquo;ai pas test\u00e9 pour beaucoup d&rsquo;outils, mais pour sqlplus (client Oracle), \u00e7a marche, et \u00e7a, c&rsquo;est bon !!!<\/p>\n<p>Il suffit de l&rsquo;installer, et tant qu&rsquo;\u00e0 faire, d&rsquo;automatiser l&rsquo;encapsulation par cet outil de vos outils ligness de commande pr\u00e9f\u00e9r\u00e9s.<\/p>\n<p>Ca donne :<\/p>\n<blockquote><p># aptitude install rlwrap<br \/>\n# cat >> ~\/.bashrc<br \/>\nmon_sqlplus() {<br \/>\n        rlwrap sqlplus &quot;$@&quot; ;<br \/>\n}<br \/>\nalias sqlplus=mon_sqlplus<br \/>\n<em>CTRL-D pour finir la saisie dans .bashrc<\/em>\n<\/p><\/blockquote>\n<p>Relogguez-vous et testez : lorsque vous appelez sqlplus, \u00e7a appelle <code>rlwrap sqlplus < m\u00eames arguments ><\/code> et les fl\u00e8ches du haut\/bas fonctionnent, ainsi que celles de gauche et droite<br \/>\nYeah !!!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Quoi de plus p\u00e9nible qu&rsquo;un outil en ligne de commande qui ne permet pas de rappeler les commandes d\u00e9j\u00e0 tap\u00e9es ? J&rsquo;ai d\u00e9couvert l&rsquo;outil rlwrap (readline wrapper). Je n&rsquo;ai pas test\u00e9 pour beaucoup d&rsquo;outils, mais &hellip;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[8,387,82],"tags":[],"class_list":["post-1554","post","type-post","status-publish","format-standard","hentry","category-coup-de-coeur","category-ligne-de-commande","category-pl"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>commandes mal foutues type sqlplus : comment rappeler de l&#039;historique ? - Le blog de Michauko<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/michauko.org\/blog\/commandes-mal-foutues-type-sqlplus-comment-rappeler-de-lhistorique-1554\/\" \/>\n<meta property=\"og:locale\" content=\"fr_FR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"commandes mal foutues type sqlplus : comment rappeler de l&#039;historique ? - Le blog de Michauko\" \/>\n<meta property=\"og:description\" content=\"Quoi de plus p\u00e9nible qu&rsquo;un outil en ligne de commande qui ne permet pas de rappeler les commandes d\u00e9j\u00e0 tap\u00e9es ? J&rsquo;ai d\u00e9couvert l&rsquo;outil rlwrap (readline wrapper). Je n&rsquo;ai pas test\u00e9 pour beaucoup d&rsquo;outils, mais &hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/michauko.org\/blog\/commandes-mal-foutues-type-sqlplus-comment-rappeler-de-lhistorique-1554\/\" \/>\n<meta property=\"og:site_name\" content=\"Le blog de Michauko\" \/>\n<meta property=\"article:published_time\" content=\"2014-01-27T08:25:25+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2014-01-27T08:35:51+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/michauko.org\/blog\/wp-content\/uploads\/2014\/01\/bash-icone1.png\" \/>\n<meta name=\"author\" content=\"michauko\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u00c9crit par\" \/>\n\t<meta name=\"twitter:data1\" content=\"michauko\" \/>\n\t<meta name=\"twitter:label2\" content=\"Dur\u00e9e de lecture estim\u00e9e\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/michauko.org\\\/blog\\\/commandes-mal-foutues-type-sqlplus-comment-rappeler-de-lhistorique-1554\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/michauko.org\\\/blog\\\/commandes-mal-foutues-type-sqlplus-comment-rappeler-de-lhistorique-1554\\\/\"},\"author\":{\"name\":\"michauko\",\"@id\":\"https:\\\/\\\/michauko.org\\\/blog\\\/#\\\/schema\\\/person\\\/0cd9f3d9ce4dccc05df81a5b27051ea9\"},\"headline\":\"commandes mal foutues type sqlplus : comment rappeler de l&rsquo;historique ?\",\"datePublished\":\"2014-01-27T08:25:25+00:00\",\"dateModified\":\"2014-01-27T08:35:51+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/michauko.org\\\/blog\\\/commandes-mal-foutues-type-sqlplus-comment-rappeler-de-lhistorique-1554\\\/\"},\"wordCount\":139,\"commentCount\":5,\"image\":{\"@id\":\"https:\\\/\\\/michauko.org\\\/blog\\\/commandes-mal-foutues-type-sqlplus-comment-rappeler-de-lhistorique-1554\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/michauko.org\\\/blog\\\/wp-content\\\/uploads\\\/2014\\\/01\\\/bash-icone1.png\",\"articleSection\":[\"coup de coeur\",\"ligne de commande\",\"planet-libre.org\"],\"inLanguage\":\"fr-FR\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/michauko.org\\\/blog\\\/commandes-mal-foutues-type-sqlplus-comment-rappeler-de-lhistorique-1554\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/michauko.org\\\/blog\\\/commandes-mal-foutues-type-sqlplus-comment-rappeler-de-lhistorique-1554\\\/\",\"url\":\"https:\\\/\\\/michauko.org\\\/blog\\\/commandes-mal-foutues-type-sqlplus-comment-rappeler-de-lhistorique-1554\\\/\",\"name\":\"commandes mal foutues type sqlplus : comment rappeler de l'historique ? - Le blog de Michauko\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/michauko.org\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/michauko.org\\\/blog\\\/commandes-mal-foutues-type-sqlplus-comment-rappeler-de-lhistorique-1554\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/michauko.org\\\/blog\\\/commandes-mal-foutues-type-sqlplus-comment-rappeler-de-lhistorique-1554\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/michauko.org\\\/blog\\\/wp-content\\\/uploads\\\/2014\\\/01\\\/bash-icone1.png\",\"datePublished\":\"2014-01-27T08:25:25+00:00\",\"dateModified\":\"2014-01-27T08:35:51+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/michauko.org\\\/blog\\\/#\\\/schema\\\/person\\\/0cd9f3d9ce4dccc05df81a5b27051ea9\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/michauko.org\\\/blog\\\/commandes-mal-foutues-type-sqlplus-comment-rappeler-de-lhistorique-1554\\\/#breadcrumb\"},\"inLanguage\":\"fr-FR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/michauko.org\\\/blog\\\/commandes-mal-foutues-type-sqlplus-comment-rappeler-de-lhistorique-1554\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"fr-FR\",\"@id\":\"https:\\\/\\\/michauko.org\\\/blog\\\/commandes-mal-foutues-type-sqlplus-comment-rappeler-de-lhistorique-1554\\\/#primaryimage\",\"url\":\"https:\\\/\\\/michauko.org\\\/blog\\\/wp-content\\\/uploads\\\/2014\\\/01\\\/bash-icone1.png\",\"contentUrl\":\"https:\\\/\\\/michauko.org\\\/blog\\\/wp-content\\\/uploads\\\/2014\\\/01\\\/bash-icone1.png\",\"width\":200,\"height\":150},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/michauko.org\\\/blog\\\/commandes-mal-foutues-type-sqlplus-comment-rappeler-de-lhistorique-1554\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Accueil\",\"item\":\"https:\\\/\\\/michauko.org\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"commandes mal foutues type sqlplus : comment rappeler de l&rsquo;historique ?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/michauko.org\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/michauko.org\\\/blog\\\/\",\"name\":\"Le blog de Michauko\",\"description\":\"Si tu ne comprends pas le titre de l&#039;article, passe ton chemin\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/michauko.org\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"fr-FR\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/michauko.org\\\/blog\\\/#\\\/schema\\\/person\\\/0cd9f3d9ce4dccc05df81a5b27051ea9\",\"name\":\"michauko\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"fr-FR\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5c3a8969c185fd0eef3893a15408f3ef1b36a6681a066b1eb32045643c30ba65?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5c3a8969c185fd0eef3893a15408f3ef1b36a6681a066b1eb32045643c30ba65?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5c3a8969c185fd0eef3893a15408f3ef1b36a6681a066b1eb32045643c30ba65?s=96&d=mm&r=g\",\"caption\":\"michauko\"},\"sameAs\":[\"http:\\\/\\\/michauko.org\\\/\"],\"url\":\"https:\\\/\\\/michauko.org\\\/blog\\\/author\\\/randomized2\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"commandes mal foutues type sqlplus : comment rappeler de l'historique ? - Le blog de Michauko","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:\/\/michauko.org\/blog\/commandes-mal-foutues-type-sqlplus-comment-rappeler-de-lhistorique-1554\/","og_locale":"fr_FR","og_type":"article","og_title":"commandes mal foutues type sqlplus : comment rappeler de l'historique ? - Le blog de Michauko","og_description":"Quoi de plus p\u00e9nible qu&rsquo;un outil en ligne de commande qui ne permet pas de rappeler les commandes d\u00e9j\u00e0 tap\u00e9es ? J&rsquo;ai d\u00e9couvert l&rsquo;outil rlwrap (readline wrapper). Je n&rsquo;ai pas test\u00e9 pour beaucoup d&rsquo;outils, mais &hellip;","og_url":"https:\/\/michauko.org\/blog\/commandes-mal-foutues-type-sqlplus-comment-rappeler-de-lhistorique-1554\/","og_site_name":"Le blog de Michauko","article_published_time":"2014-01-27T08:25:25+00:00","article_modified_time":"2014-01-27T08:35:51+00:00","og_image":[{"url":"https:\/\/michauko.org\/blog\/wp-content\/uploads\/2014\/01\/bash-icone1.png","type":"","width":"","height":""}],"author":"michauko","twitter_card":"summary_large_image","twitter_misc":{"\u00c9crit par":"michauko","Dur\u00e9e de lecture estim\u00e9e":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/michauko.org\/blog\/commandes-mal-foutues-type-sqlplus-comment-rappeler-de-lhistorique-1554\/#article","isPartOf":{"@id":"https:\/\/michauko.org\/blog\/commandes-mal-foutues-type-sqlplus-comment-rappeler-de-lhistorique-1554\/"},"author":{"name":"michauko","@id":"https:\/\/michauko.org\/blog\/#\/schema\/person\/0cd9f3d9ce4dccc05df81a5b27051ea9"},"headline":"commandes mal foutues type sqlplus : comment rappeler de l&rsquo;historique ?","datePublished":"2014-01-27T08:25:25+00:00","dateModified":"2014-01-27T08:35:51+00:00","mainEntityOfPage":{"@id":"https:\/\/michauko.org\/blog\/commandes-mal-foutues-type-sqlplus-comment-rappeler-de-lhistorique-1554\/"},"wordCount":139,"commentCount":5,"image":{"@id":"https:\/\/michauko.org\/blog\/commandes-mal-foutues-type-sqlplus-comment-rappeler-de-lhistorique-1554\/#primaryimage"},"thumbnailUrl":"https:\/\/michauko.org\/blog\/wp-content\/uploads\/2014\/01\/bash-icone1.png","articleSection":["coup de coeur","ligne de commande","planet-libre.org"],"inLanguage":"fr-FR","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/michauko.org\/blog\/commandes-mal-foutues-type-sqlplus-comment-rappeler-de-lhistorique-1554\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/michauko.org\/blog\/commandes-mal-foutues-type-sqlplus-comment-rappeler-de-lhistorique-1554\/","url":"https:\/\/michauko.org\/blog\/commandes-mal-foutues-type-sqlplus-comment-rappeler-de-lhistorique-1554\/","name":"commandes mal foutues type sqlplus : comment rappeler de l'historique ? - Le blog de Michauko","isPartOf":{"@id":"https:\/\/michauko.org\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/michauko.org\/blog\/commandes-mal-foutues-type-sqlplus-comment-rappeler-de-lhistorique-1554\/#primaryimage"},"image":{"@id":"https:\/\/michauko.org\/blog\/commandes-mal-foutues-type-sqlplus-comment-rappeler-de-lhistorique-1554\/#primaryimage"},"thumbnailUrl":"https:\/\/michauko.org\/blog\/wp-content\/uploads\/2014\/01\/bash-icone1.png","datePublished":"2014-01-27T08:25:25+00:00","dateModified":"2014-01-27T08:35:51+00:00","author":{"@id":"https:\/\/michauko.org\/blog\/#\/schema\/person\/0cd9f3d9ce4dccc05df81a5b27051ea9"},"breadcrumb":{"@id":"https:\/\/michauko.org\/blog\/commandes-mal-foutues-type-sqlplus-comment-rappeler-de-lhistorique-1554\/#breadcrumb"},"inLanguage":"fr-FR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/michauko.org\/blog\/commandes-mal-foutues-type-sqlplus-comment-rappeler-de-lhistorique-1554\/"]}]},{"@type":"ImageObject","inLanguage":"fr-FR","@id":"https:\/\/michauko.org\/blog\/commandes-mal-foutues-type-sqlplus-comment-rappeler-de-lhistorique-1554\/#primaryimage","url":"https:\/\/michauko.org\/blog\/wp-content\/uploads\/2014\/01\/bash-icone1.png","contentUrl":"https:\/\/michauko.org\/blog\/wp-content\/uploads\/2014\/01\/bash-icone1.png","width":200,"height":150},{"@type":"BreadcrumbList","@id":"https:\/\/michauko.org\/blog\/commandes-mal-foutues-type-sqlplus-comment-rappeler-de-lhistorique-1554\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Accueil","item":"https:\/\/michauko.org\/blog\/"},{"@type":"ListItem","position":2,"name":"commandes mal foutues type sqlplus : comment rappeler de l&rsquo;historique ?"}]},{"@type":"WebSite","@id":"https:\/\/michauko.org\/blog\/#website","url":"https:\/\/michauko.org\/blog\/","name":"Le blog de Michauko","description":"Si tu ne comprends pas le titre de l&#039;article, passe ton chemin","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/michauko.org\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"fr-FR"},{"@type":"Person","@id":"https:\/\/michauko.org\/blog\/#\/schema\/person\/0cd9f3d9ce4dccc05df81a5b27051ea9","name":"michauko","image":{"@type":"ImageObject","inLanguage":"fr-FR","@id":"https:\/\/secure.gravatar.com\/avatar\/5c3a8969c185fd0eef3893a15408f3ef1b36a6681a066b1eb32045643c30ba65?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/5c3a8969c185fd0eef3893a15408f3ef1b36a6681a066b1eb32045643c30ba65?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/5c3a8969c185fd0eef3893a15408f3ef1b36a6681a066b1eb32045643c30ba65?s=96&d=mm&r=g","caption":"michauko"},"sameAs":["http:\/\/michauko.org\/"],"url":"https:\/\/michauko.org\/blog\/author\/randomized2\/"}]}},"_links":{"self":[{"href":"https:\/\/michauko.org\/blog\/wp-json\/wp\/v2\/posts\/1554","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/michauko.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/michauko.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/michauko.org\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/michauko.org\/blog\/wp-json\/wp\/v2\/comments?post=1554"}],"version-history":[{"count":7,"href":"https:\/\/michauko.org\/blog\/wp-json\/wp\/v2\/posts\/1554\/revisions"}],"predecessor-version":[{"id":1563,"href":"https:\/\/michauko.org\/blog\/wp-json\/wp\/v2\/posts\/1554\/revisions\/1563"}],"wp:attachment":[{"href":"https:\/\/michauko.org\/blog\/wp-json\/wp\/v2\/media?parent=1554"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/michauko.org\/blog\/wp-json\/wp\/v2\/categories?post=1554"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/michauko.org\/blog\/wp-json\/wp\/v2\/tags?post=1554"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}