{"id":3223,"date":"2019-06-15T23:50:13","date_gmt":"2019-06-15T15:50:13","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=3223"},"modified":"2019-06-15T23:50:14","modified_gmt":"2019-06-15T15:50:14","slug":"dirs","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/dirs","title":{"rendered":"dirs\u547d\u4ee4 – \u663e\u793aShell\u76ee\u5f55\u5806\u6808\u4e2d\u7684\u8bb0\u5f55"},"content":{"rendered":"\n
dirs\u547d\u4ee4\u7528\u4e8e\u663e\u793aShell\u76ee\u5f55\u4e2d\u7684\u5806\u6808\u8bb0\u5f55\u3002\u4e0d\u52a0\u9009\u9879\u65f6\u663e\u793a\u5f53\u524d\u7684Shell\u547d\u4ee4\u5806\u6808\u4e2d\u7684\u6240\u6709\u76ee\u5f55\uff0c\u663e\u793a\u65f6\u5de6\u8fb9\u4e3a\u6700\u65b0\u52a0\u5165\u7684\u76ee\u5f55\u3002<\/p>\n\n\n\n
\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>dirs [\u53c2\u6570] <\/p>\n\n\n\n \u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n \u53c2\u8003\u5b9e\u4f8b<\/strong><\/p>\n\n\n\n \u663e\u793aShell\u76ee\u5f55\u5806\u6808\u4e2d\u7684\u8bb0\u5f55\uff1a<\/p>\n\n\n\n \u663e\u793aShell\u76ee\u5f55\u5806\u6808\u5185\u5bb9\uff0c\u6bcf\u884c\u4e00\u4e2a\u8bb0\u5f55\uff1a<\/p>\n\n\n\n \u663e\u793aShell\u76ee\u5f55\u5806\u6808\u5185\u5bb9\uff0c\u6bcf\u884c\u4e00\u4e2a\u8bb0\u5f55\uff0c\u5e76\u52a0\u5e8f\u53f7\uff1a<\/p>\n\n\n\n \u5220\u9664Shell\u76ee\u5f55\u5806\u6808\u4e2d\u7684\u8bb0\u5f55\uff1a<\/p>\n\n\n\n dirs\u547d\u4ee4\u7528\u4e8e\u663e\u793aShell\u76ee\u5f55\u4e2d\u7684\u5806\u6808\u8bb0\u5f55\u3002\u4e0d\u52a0\u9009\u9879\u65f6\u663e\u793a\u5f53\u524d\u7684Shell\u547d\u4ee4\u5806\u6808\u4e2d\u7684\u6240\u6709\u76ee\u5f55\uff0c\u663e\u793a\u65f6\u5de6\u8fb9 […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[11],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/3223"}],"collection":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/comments?post=3223"}],"version-history":[{"count":2,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/3223\/revisions"}],"predecessor-version":[{"id":3234,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/3223\/revisions\/3234"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=3223"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=3223"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=3223"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}-c<\/td> \u5220\u9664\u76ee\u5f55\u5806\u6808\u4e2d\u7684\u6240\u6709\u8bb0\u5f55<\/td><\/tr> -l<\/td> \u4ee5\u5b8c\u6574\u683c\u5f0f\u663e\u793a\u5806\u6808\u4e2d\u7684\u76ee\u5f55\u3002\u663e\u793a\u7528\u6237\u5bbf\u4e3b\u76ee\u5f55\u65f6\uff0c\u5217\u51fa\u5b8c\u6574\u8def\u5f84\uff0c\u800c\u4e0d\u662f\u201c~\u201d<\/td><\/tr> -n<\/td> \u663e\u793a\u53f3\u8d77\u7b2cn\u4e2a\u76ee\u5f55\uff08n\u4ece0\u8ba1\u6570\uff09<\/td><\/tr> +n<\/td> \u663e\u793a\u5de6\u8d77\u7b2cn\u4e2a\u76ee\u5f55 \uff08n\u4ece0\u8ba1\u6570\uff09 <\/td><\/tr> -p<\/td> \u4ee5\u6bcf\u884c\u4e00\u4e2a\u8bb0\u5f55\u7684\u65b9\u5f0f\u5217\u51fa\u5806\u6808\u4e2d\u591a\u6709\u8bb0\u5f55<\/td><\/tr> -v<\/td> \u4ee5\u6bcf\u884c\u4e00\u4e2a\u8bb0\u5f55\u7684\u65b9\u5f0f\u5217\u51fa\u5806\u6808\u4e2d\u6240\u6709\u8bb0\u5f55\uff0c\u5e76\u5728\u6bcf\u884c\u52a0\u4e0a\u5e8f\u53f7\uff08\u4ece0\u5f00\u59cb\u7f16\u53f7\uff09<\/td><\/tr><\/tbody><\/table>\n\n\n\n [root@linuxcool ~]# dirs<\/pre>\n\n\n\n
[root@linuxcool ~]# dirs -p <\/pre>\n\n\n\n
[root@linuxcool ~]# dirs -v<\/pre>\n\n\n\n
[root@linuxcool ~]# dirs -c <\/pre>\n","protected":false},"excerpt":{"rendered":"