
{"id":7723,"date":"2012-10-10T14:45:01","date_gmt":"2012-10-10T14:45:01","guid":{"rendered":"http:\/\/www.beautifulwork.org\/?p=7723"},"modified":"2012-10-10T14:45:01","modified_gmt":"2012-10-10T14:45:01","slug":"shlvl-incremented-by-one-each-time-an-instance-of-bash-is-started","status":"publish","type":"post","link":"https:\/\/www.trueangle.org\/index.php\/2012\/10\/10\/shlvl-incremented-by-one-each-time-an-instance-of-bash-is-started\/","title":{"rendered":"SHLVL  &#8211;  Incremented by one each time an instance of bash is started"},"content":{"rendered":"<h4><u>commandline session<\/u><\/h4>\n<pre>\n$ 4.2.36 2 501---&gt; echo $SHLVL\n1\n$ 4.2.36 3 502---&gt; echo $SHLVL\n1\n$ 4.2.36 4 503---&gt; bash\n$ 4.2.36 1 500---&gt; echo $SHLVL\n2\n$ 4.2.36 2 501---&gt; logout\nbash: logout: not login shell: use `exit'\n$ 4.2.36 3 502---&gt; exit\nexit\n$ 4.2.36 5 504---&gt; echo $SHLVL\n1\n$ 4.2.36 6 505---&gt;\n\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>commandline session $ 4.2.36 2 501&#8212;&gt; echo $SHLVL 1 $ 4.2.36 3 502&#8212;&gt; echo $SHLVL 1 $ 4.2.36 4 503&#8212;&gt; bash $ 4.2.36 1 500&#8212;&gt; echo $SHLVL 2 $ 4.2.36 2 501&#8212;&gt; logout bash: logout: not login shell: use `exit&#8217; $ 4.2.36 3 502&#8212;&gt; exit exit $ 4.2.36 5 504&#8212;&gt; echo $SHLVL 1 $ 4.2.36 &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.trueangle.org\/index.php\/2012\/10\/10\/shlvl-incremented-by-one-each-time-an-instance-of-bash-is-started\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;SHLVL  &#8211;  Incremented by one each time an instance of bash is started&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/7723"}],"collection":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/comments?post=7723"}],"version-history":[{"count":0,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/7723\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/media?parent=7723"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/categories?post=7723"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/tags?post=7723"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}