
{"id":17204,"date":"2018-10-01T17:07:58","date_gmt":"2018-10-01T17:07:58","guid":{"rendered":"http:\/\/www.beautifulwork.org\/?p=17204"},"modified":"2018-10-01T17:07:58","modified_gmt":"2018-10-01T17:07:58","slug":"how-to-use-dirs-pushd-and-popd-commands","status":"publish","type":"post","link":"https:\/\/www.trueangle.org\/index.php\/2018\/10\/01\/how-to-use-dirs-pushd-and-popd-commands\/","title":{"rendered":"How to use dirs, pushd and popd commands ?"},"content":{"rendered":"\n<pre class=\"wp-block-preformatted\">$pushd upstream-kernel\/\n~\/upstream-kernel ~\n$pwd\n\/home\/jeffrin\/upstream-kernel\n$cd ..\n$pushd temp\/\n~\/temp ~ ~\n$dirs\n~\/temp ~ ~\n$dirs -l\n\/home\/jeffrin\/temp \/home\/jeffrin \/home\/jeffrin\n$pwd\n\/home\/jeffrin\/temp\n$pushd ..\/upstream-kernel\/\n~\/upstream-kernel ~\/temp ~ ~\n$dirs -l\n\/home\/jeffrin\/upstream-kernel \/home\/jeffrin\/temp \/home\/jeffrin \/home\/jeffrin\n$pushd ..\/testing\/\n~\/testing ~\/upstream-kernel ~\/temp ~ ~\n$dirs -l\n\/home\/jeffrin\/testing \/home\/jeffrin\/upstream-kernel \/home\/jeffrin\/temp \/home\/jeffrin \/home\/jeffrin\n$popd \n~\/upstream-kernel ~\/temp ~ ~\n$dirs -l\n\/home\/jeffrin\/upstream-kernel \/home\/jeffrin\/temp \/home\/jeffrin \/home\/jeffrin\n$popd \n~\/temp ~ ~\n$dirs -l\n\/home\/jeffrin\/temp \/home\/jeffrin \/home\/jeffrin\n$<div><br \/><\/div><\/pre>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>$pushd upstream-kernel\/ ~\/upstream-kernel ~ $pwd \/home\/jeffrin\/upstream-kernel $cd .. $pushd temp\/ ~\/temp ~ ~ $dirs ~\/temp ~ ~ $dirs -l \/home\/jeffrin\/temp \/home\/jeffrin \/home\/jeffrin $pwd \/home\/jeffrin\/temp $pushd ..\/upstream-kernel\/ ~\/upstream-kernel ~\/temp ~ ~ $dirs -l \/home\/jeffrin\/upstream-kernel \/home\/jeffrin\/temp \/home\/jeffrin \/home\/jeffrin $pushd ..\/testing\/ ~\/testing ~\/upstream-kernel ~\/temp ~ ~ $dirs -l \/home\/jeffrin\/testing \/home\/jeffrin\/upstream-kernel \/home\/jeffrin\/temp \/home\/jeffrin \/home\/jeffrin $popd ~\/upstream-kernel ~\/temp ~ ~ &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.trueangle.org\/index.php\/2018\/10\/01\/how-to-use-dirs-pushd-and-popd-commands\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;How to use dirs, pushd and popd commands ?&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[7,8],"tags":[665,1279,1327],"_links":{"self":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/17204"}],"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=17204"}],"version-history":[{"count":0,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/17204\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/media?parent=17204"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/categories?post=17204"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/tags?post=17204"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}