{"id":6169,"date":"2009-03-19T02:34:47","date_gmt":"2009-03-19T05:34:47","guid":{"rendered":"http:\/\/www.ovelhaeletrica.com\/blog\/?p=6169"},"modified":"2009-03-19T02:39:37","modified_gmt":"2009-03-19T05:39:37","slug":"command-line-fu","status":"publish","type":"post","link":"https:\/\/www.ovelhaeletrica.com\/blog\/2009_03_19_command-line-fu.html","title":{"rendered":"Command-line Fu"},"content":{"rendered":"<p>Seja vc tb um mestre shaolin da linha de comando, abra j\u00e1 um terminal no Unix (ubuntu ou mac, pra ser mais popular) e detone com os &#8220;comandos prontos&#8221; do portioli.<\/p>\n<p><a href=\"http:\/\/www.commandlinefu.com\/commands\/browse\" target=\"_blank\">http:\/\/www.commandlinefu.com\/commands\/browse<\/a><\/p>\n<p>eu gosto desse: <code>export PS1='$? \\u@\\h:\\W \\$ '<\/code><\/p>\n<p>que coloca o n\u00famero do exit code do \u00faltimo comando.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Seja vc tb um mestre shaolin da linha de comando, abra j\u00e1 um terminal no Unix (ubuntu ou mac, pra ser mais popular) e detone com os &#8220;comandos prontos&#8221; do portioli. http:\/\/www.commandlinefu.com\/commands\/browse eu gosto desse: export PS1=&#8217;$? \\u@\\h:\\W \\$ &#8216; que coloca o n\u00famero do exit code do \u00faltimo comando.<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-6169","post","type-post","status-publish","format-standard","hentry","category-blog"],"_links":{"self":[{"href":"https:\/\/www.ovelhaeletrica.com\/blog\/wp-json\/wp\/v2\/posts\/6169","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ovelhaeletrica.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ovelhaeletrica.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ovelhaeletrica.com\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ovelhaeletrica.com\/blog\/wp-json\/wp\/v2\/comments?post=6169"}],"version-history":[{"count":0,"href":"https:\/\/www.ovelhaeletrica.com\/blog\/wp-json\/wp\/v2\/posts\/6169\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.ovelhaeletrica.com\/blog\/wp-json\/wp\/v2\/media?parent=6169"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ovelhaeletrica.com\/blog\/wp-json\/wp\/v2\/categories?post=6169"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ovelhaeletrica.com\/blog\/wp-json\/wp\/v2\/tags?post=6169"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}