{"id":7235,"date":"2020-06-04T13:12:58","date_gmt":"2020-06-04T13:12:58","guid":{"rendered":"http:\/\/www.max-sperling.bplaced.net\/?p=7235"},"modified":"2024-03-11T12:15:35","modified_gmt":"2024-03-11T12:15:35","slug":"shell-vs-sh-vs-bash","status":"publish","type":"post","link":"http:\/\/www.max-sperling.bplaced.net\/?p=7235","title":{"rendered":"What is a shell?"},"content":{"rendered":"<p>The shell provides the user a way to interact with the OS. It&#8217;s called shell, because it&#8217;s the outermost layer of the OS. There are two types: &#8220;Command-line interface&#8221; (CLI) and &#8220;Graphical user interface&#8221; (GUI).<\/p>\n<pre>\r\nUser <-- Shell (CLI\/GUI) --> OS\r\n<\/pre>\n<hr>\n<p><strong>CLIs<\/strong><\/p>\n<p>Unix<\/p>\n<ul>\n<li>sh (Bourne shell)<\/li>\n<li>bash (Bourne-again shell)<\/li>\n<li>ash (Almquist shell)<\/li>\n<li>dash (Debian Almquist shell)<\/li>\n<\/ul>\n<p>Windows<\/p>\n<ul>\n<li>cmd (Command prompt)<\/li>\n<li>pwsh (PowerShell)<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>The shell provides the user a way to interact with the OS. It&#8217;s called shell, because it&#8217;s the outermost layer<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false},"categories":[65,66],"tags":[],"_links":{"self":[{"href":"http:\/\/www.max-sperling.bplaced.net\/index.php?rest_route=\/wp\/v2\/posts\/7235"}],"collection":[{"href":"http:\/\/www.max-sperling.bplaced.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.max-sperling.bplaced.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.max-sperling.bplaced.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.max-sperling.bplaced.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=7235"}],"version-history":[{"count":4,"href":"http:\/\/www.max-sperling.bplaced.net\/index.php?rest_route=\/wp\/v2\/posts\/7235\/revisions"}],"predecessor-version":[{"id":17078,"href":"http:\/\/www.max-sperling.bplaced.net\/index.php?rest_route=\/wp\/v2\/posts\/7235\/revisions\/17078"}],"wp:attachment":[{"href":"http:\/\/www.max-sperling.bplaced.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7235"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.max-sperling.bplaced.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7235"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.max-sperling.bplaced.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7235"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}