{"id":152,"date":"2019-03-11T21:38:53","date_gmt":"2019-03-11T13:38:53","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=152"},"modified":"2023-11-29T16:19:57","modified_gmt":"2023-11-29T08:19:57","slug":"pwd","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/pwd","title":{"rendered":"pwd\u547d\u4ee4 &#8211; \u663e\u793a\u5f53\u524d\u5de5\u4f5c\u76ee\u5f55\u7684\u8def\u5f84"},"content":{"rendered":"\n<p>pwd\u547d\u4ee4\u6765\u81ea\u82f1\u6587\u8bcd\u7ec4print working directory\u7684\u7f29\u5199\uff0c\u5176\u529f\u80fd\u662f\u663e\u793a\u5f53\u524d\u5de5\u4f5c\u76ee\u5f55\u7684\u8def\u5f84\uff0c\u5373\u663e\u793a\u6240\u5728\u4f4d\u7f6e\u7684\u7edd\u5bf9\u8def\u200d\u5f84\u3002<\/p>\n\n\n\n<p> \u5728\u5b9e\u9645\u5de5\u4f5c\u4e2d\uff0c\u6211\u4eec\u7ecf\u5e38\u4f1a\u5728\u4e0d\u540c\u76ee\u5f55\u4e4b\u95f4\u8fdb\u884c\u5207\u6362\uff0c\u4e3a\u4e86\u9632\u6b62\u201c\u8ff7\u8def\u201d\uff0c\u53ef\u4ee5\u4f7f\u7528pwd\u547d\u4ee4\u5feb\u901f\u67e5\u770b\u5f53\u524d\u6240\u5904\u7684\u5de5\u4f5c\u76ee\u5f55\u8def\u5f84\uff0c\u65b9\u4fbf\u5f00\u5c55\u540e\u7eed\u5de5\u4f5c\u3002<\/p>\n\n\n\n<p><strong>\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>pwd \u53c2\u6570<\/p>\n\n\n\n<p><strong>\u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>-L <strong><\/strong><\/td><td>\u663e\u793a\u903b\u8f91\u8def\u5f84 <strong><\/strong><\/td><td rowspan=\"2\"><strong>&nbsp;<\/strong><\/td><td>--version <strong><\/strong><\/td><td>\u663e\u793a\u7248\u672c\u4fe1\u606f <strong><\/strong><\/td><\/tr><tr><td>-P <strong><\/strong><\/td><td>\u663e\u793a\u5b9e\u9645\u7269\u7406\u5730\u5740 <strong><\/strong><\/td><td>--help <strong><\/strong><\/td><td>\u663e\u793a\u5e2e\u52a9\u4fe1\u606f <strong><\/strong><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>\u53c2\u8003\u793a\u4f8b<\/strong><\/p>\n\n\n\n<p>\u67e5\u770b\u5f53\u524d\u5de5\u4f5c\u76ee\u5f55\u8def\u5f84\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">[root@linuxcool ~]# pwd \n\/root\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>pwd\u547d\u4ee4\u6765\u81ea\u82f1\u6587\u8bcd\u7ec4print working directory\u7684\u7f29\u5199\uff0c\u5176\u529f\u80fd\u662f\u663e\u793a\u5f53\u524d\u5de5\u4f5c\u76ee\u5f55\u7684\u8def\u5f84\uff0c\u5373 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-152","post","type-post","status-publish","format-standard","hentry","category-file"],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/152","targetHints":{"allow":["GET"]}}],"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=152"}],"version-history":[{"count":8,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/152\/revisions"}],"predecessor-version":[{"id":16543,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/152\/revisions\/16543"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=152"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=152"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=152"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}