{"id":1964,"date":"2021-01-22T00:08:41","date_gmt":"2021-01-22T00:08:41","guid":{"rendered":"https:\/\/swiv.com.br\/linux-type-command\/"},"modified":"2026-05-27T20:02:53","modified_gmt":"2026-05-27T19:02:53","slug":"linux-type-command","status":"publish","type":"post","link":"https:\/\/swiv.com.br\/index.php\/2021\/01\/22\/linux-type-command\/","title":{"rendered":"Linux &#8220;TYPE&#8221; command"},"content":{"rendered":"\n<p>O comando TYPE \u00e9 utilizado para nos informar o tipo de comando que est\u00e1 sendo executado no shell Linux (para saber se trata-se de um comando interno, externo, etc). No exemplo abaixo, o comando ECHO \u00e9 interno:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \\&quot;wp-block-syntaxhighlighter-code\\&quot;\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n&#x5B;root@oel7 bin]# type echo\necho is a shell builtin\n<\/pre><\/div>\n\n\n<p>No exemplo abaixo, vemos que o comando TAR \u00e9 de um programa externo, ou seja, n\u00e3o comp\u00f5e o BASH do linux:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \\&quot;wp-block-syntaxhighlighter-code\\&quot;\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n&#x5B;root@oel7 bin]# type tar\ntar is \/usr\/bin\/tar\n<\/pre><\/div>","protected":false},"excerpt":{"rendered":"<p>O comando TYPE \u00e9 utilizado para nos informar o tipo de comando que est\u00e1 sendo executado no shell Linux (para saber se trata-se de um comando interno, externo, etc). No exemplo abaixo, o comando ECHO \u00e9 interno: No exemplo abaixo, vemos que o comando TAR \u00e9 de um programa externo, ou seja, n\u00e3o comp\u00f5e o [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[21],"class_list":["post-1964","post","type-post","status-publish","format-standard","hentry","category-linux","tag-oracle-linux"],"_links":{"self":[{"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/posts\/1964","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/comments?post=1964"}],"version-history":[{"count":1,"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/posts\/1964\/revisions"}],"predecessor-version":[{"id":9274,"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/posts\/1964\/revisions\/9274"}],"wp:attachment":[{"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/media?parent=1964"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/categories?post=1964"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/tags?post=1964"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}