{"id":670,"date":"2019-04-25T11:37:06","date_gmt":"2019-04-25T03:37:06","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=670"},"modified":"2022-05-21T14:37:19","modified_gmt":"2022-05-21T06:37:19","slug":"which","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/which","title":{"rendered":"which\u547d\u4ee4 – \u67e5\u627e\u547d\u4ee4\u6587\u4ef6"},"content":{"rendered":"\n
which\u547d\u4ee4\u7684\u529f\u80fd\u662f\u7528\u4e8e\u67e5\u627e\u547d\u4ee4\u6587\u4ef6\uff0c\u80fd\u591f\u5feb\u901f\u641c\u7d22\u4e8c\u8fdb\u5236\u7a0b\u5e8f\u6240\u5bf9\u5e94\u7684\u4f4d\u7f6e\u3002\u5982\u679c\u6211\u4eec\u65e2\u4e0d\u5173\u5fc3\u540c\u540d\u6587\u4ef6\uff08find\u4e0elocate\uff09\uff0c\u4e5f\u4e0d\u5173\u5fc3\u547d\u4ee4\u6240\u5bf9\u5e94\u7684\u6e90\u4ee3\u7801\u548c\u5e2e\u52a9\u6587\u4ef6\uff08whereis\uff09\uff0c\u4ec5\u4ec5\u662f\u60f3\u627e\u5230\u547d\u4ee4\u672c\u8eab\u6240\u5728\u7684\u8def\u5f84\uff0c\u90a3\u4e48\u8fd9\u4e2awhich\u547d\u4ee4\u5c31\u592a\u5408\u9002\u4e86\u3002<\/p>\n\n\n\n
\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>which [\u53c2\u6570] \u6587\u4ef6<\/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 \u67e5\u627e\u67d0\u4e2a\u6307\u5b9a\u547d\u4ee4\u6587\u4ef6\u6240\u5728\u4f4d\u7f6e\uff1a<\/p>\n\n\n\n \u67e5\u627e\u591a\u4e2a\u6307\u5b9a\u547d\u4ee4\u6587\u4ef6\u6240\u5728\u4f4d\u7f6e\uff1a<\/p>\n\n\n\n which\u547d\u4ee4\u7684\u529f\u80fd\u662f\u7528\u4e8e\u67e5\u627e\u547d\u4ee4\u6587\u4ef6\uff0c\u80fd\u591f\u5feb\u901f\u641c\u7d22\u4e8c\u8fdb\u5236\u7a0b\u5e8f\u6240\u5bf9\u5e94\u7684\u4f4d\u7f6e\u3002\u5982\u679c\u6211\u4eec\u65e2\u4e0d\u5173\u5fc3\u540c\u540d\u6587\u4ef6\uff08find […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/670"}],"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=670"}],"version-history":[{"count":9,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/670\/revisions"}],"predecessor-version":[{"id":9908,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/670\/revisions\/9908"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=670"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=670"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=670"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}-n <\/td> \u6307\u5b9a\u6587\u4ef6\u540d\u957f\u5ea6\uff08\u4e0d\u542b\u8def\u5f84\uff09<\/td><\/tr> -p <\/td> \u6307\u5b9a\u6587\u4ef6\u540d\u957f\u5ea6\uff08\u542b\u8def\u5f84\uff09<\/td><\/tr> -w <\/td> \u6307\u5b9a\u8f93\u51fa\u65f6\u680f\u4f4d\u7684\u5bbd\u5ea6 <\/td><\/tr> -V<\/td> \u663e\u793a\u7248\u672c\u4fe1\u606f <\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n [root@linuxcool ~]# which reboot<\/strong>\n\/usr\/sbin\/reboot<\/pre>\n\n\n\n
[root@linuxcool ~]# which shutdown poweroff<\/strong>\r\n\/usr\/sbin\/shutdown\r\n\/usr\/sbin\/poweroff\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"