{"id":1960,"date":"2021-01-22T00:06:22","date_gmt":"2021-01-22T00:06:22","guid":{"rendered":"https:\/\/swiv.com.br\/how-to-find-out-what-shell-it-is-using-on-linux\/"},"modified":"2026-05-27T20:02:53","modified_gmt":"2026-05-27T19:02:53","slug":"how-to-find-out-what-shell-it-is-using-on-linux","status":"publish","type":"post","link":"https:\/\/swiv.com.br\/index.php\/2021\/01\/22\/how-to-find-out-what-shell-it-is-using-on-linux\/","title":{"rendered":"How to find out what shell it is using on Linux?"},"content":{"rendered":"\n<p>Em um ambiente Linux, \u00e9 normal existir alguns tipos dispon\u00edveis de &#8220;shell&#8221;. Para consult\u00e1-los, basta rodar o comando abaixo:<\/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]# cat \/etc\/shells\n\/bin\/sh\n\/bin\/bash\n\/usr\/bin\/sh\n\/usr\/bin\/bash\n\/bin\/tcsh\n\/bin\/csh\n<\/pre><\/div>\n\n\n<p>Para descobrir qual shell est\u00e1 em uso, basta executar o comando abaixo (no meu caso, \u00e9 BASH):<\/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]# echo $SHELL\n\/bin\/bash\n<\/pre><\/div>","protected":false},"excerpt":{"rendered":"<p>Em um ambiente Linux, \u00e9 normal existir alguns tipos dispon\u00edveis de &#8220;shell&#8221;. Para consult\u00e1-los, basta rodar o comando abaixo: Para descobrir qual shell est\u00e1 em uso, basta executar o comando abaixo (no meu caso, \u00e9 BASH):<\/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-1960","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\/1960","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=1960"}],"version-history":[{"count":1,"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/posts\/1960\/revisions"}],"predecessor-version":[{"id":9275,"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/posts\/1960\/revisions\/9275"}],"wp:attachment":[{"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/media?parent=1960"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/categories?post=1960"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/tags?post=1960"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}