{"id":100,"date":"2009-12-09T12:56:00","date_gmt":"2009-12-09T14:56:00","guid":{"rendered":"http:\/\/www.soudba.com.br\/?p=100"},"modified":"2009-12-09T12:56:00","modified_gmt":"2009-12-09T14:56:00","slug":"doskey-linux-para-o-sqlplus","status":"publish","type":"post","link":"https:\/\/www.soudba.com.br\/?p=100","title":{"rendered":"Doskey LINUX para o SQLPLUS"},"content":{"rendered":"<p>Quem nao se lembra do doskey&#8230; hoje \u00e9 so voltar a setinha do teclado para cima e o ultimo comando se repete.. No linux isso tambem \u00e9 possivel.<\/p>\n<p>Instale o rlwrap. E facil. Descompacte, <br \/>gunzip NOMEARQUIVO.gz e tar -xvf NOMEARQUIVO.gz ou tar -xvfg NOMEARQUIVO.gz<\/p>\n<p>Em seguida como root:<br \/>cd rlwrap-0.33<br \/>.\/configure<br \/>make<br \/>make install<\/p>\n<p>Depois va ate a pasta: <br \/>cd \/etc\/profile.d\/<br \/>crie o arquivo sqlplus.sh com o conteudo:<\/p>\n<p>alias sqlplus=&#8217;rlwrap sqlplus&#8217;<\/p>\n<p>Sobre o RLWRAP pode ser baixado do link abaixo:<\/p>\n<p>rlwrap is a &#8216;readline wrapper&#8217; that uses the GNU readline library to allow the editing of keyboard input for any other command. Input history is remembered across invocations, separately for each command; history completion and search work as in bash and completion word lists can be specified on the command line.<\/p>\n<p>http:\/\/utopia.knoware.nl\/%7Ehlub\/uck\/rlwrap\/<\/p>\n<p>Pode ser baixado pelo link:<br \/>http:\/\/utopia.knoware.nl\/%7Ehlub\/uck\/rlwrap\/rlwrap-0.33.tar.gz<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Quem nao se lembra do doskey&#8230; hoje \u00e9 so voltar a setinha do teclado para cima e o ultimo comando se repete.. No linux isso tambem \u00e9 possivel. Instale o rlwrap. E facil. Descompacte, gunzip NOMEARQUIVO.gz e tar -xvf NOMEARQUIVO.gz &hellip; <a href=\"https:\/\/www.soudba.com.br\/?p=100\">Continue lendo <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[86,287],"tags":[],"class_list":["post-100","post","type-post","status-publish","format-standard","hentry","category-doskey-linux","category-sqlplus-history"],"_links":{"self":[{"href":"https:\/\/www.soudba.com.br\/index.php?rest_route=\/wp\/v2\/posts\/100","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.soudba.com.br\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.soudba.com.br\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.soudba.com.br\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.soudba.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=100"}],"version-history":[{"count":0,"href":"https:\/\/www.soudba.com.br\/index.php?rest_route=\/wp\/v2\/posts\/100\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.soudba.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=100"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.soudba.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=100"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.soudba.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=100"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}