{"id":493,"date":"2019-04-23T22:09:32","date_gmt":"2019-04-23T14:09:32","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=493"},"modified":"2022-06-10T17:28:53","modified_gmt":"2022-06-10T09:28:53","slug":"help","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/help","title":{"rendered":"help\u547d\u4ee4 – \u663e\u793a\u5e2e\u52a9\u4fe1\u606f"},"content":{"rendered":"\n

help\u547d\u4ee4\u7684\u529f\u80fd\u662f\u7528\u4e8e\u663e\u793a\u5e2e\u52a9\u4fe1\u606f\uff0c\u80fd\u591f\u8f93\u51faShell\u5185\u90e8\u547d\u4ee4\u7684\u5e2e\u52a9\u5185\u5bb9\uff0c\u4f46\u5bf9\u4e8e\u5916\u90e8\u547d\u4ee4\u5219\u65e0\u6cd5\u4f7f\u7528\uff0c\u9700\u8981\u7528man\u6216info\u547d\u4ee4\u8fdb\u884c\u67e5\u770b\u4e86\u3002<\/p>\n\n\n\n

\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>help <\/strong>[\u53c2\u6570] \u547d\u4ee4\u540d\u79f0<\/p>\n\n\n\n

\u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n

-d<\/td>\u8f93\u51fa\u6bcf\u4e2a\u547d\u4ee4\u7684\u7b80\u77ed\u63cf\u8ff0<\/td><\/tr>
-s<\/td>\u8f93\u51fa\u77ed\u683c\u5f0f\u7684\u5e2e\u52a9\u4fe1\u606f<\/td><\/tr>
-m<\/td>\u4ee5man\u624b\u518c\u7684\u683c\u5f0f\u663e\u793a\u5e2e\u52a9\u4fe1\u606f<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n

\u53c2\u8003\u5b9e\u4f8b<\/strong><\/p>\n\n\n\n

\u4ee5\u9ed8\u8ba4\u683c\u5f0f\u663e\u793a\u6307\u5b9a\u547d\u4ee4\u7684\u5e2e\u52a9\u4fe1\u606f\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# help cd<\/strong>\r\ncd: cd [-L|[-P [-e]] [-@]] [dir]\r\n    Change the shell working directory.\r\n    \r\n    Change the current directory to DIR.  The default DIR is the value of the\r\n    HOME shell variable.\r\n    \r\n    The variable CDPATH defines the search path for the directory containing\r\n    DIR.  Alternative directory names in CDPATH are separated by a colon (:).\r\n    A null directory name is the same as the current directory.  If DIR begins\r\n    with a slash (\/), then CDPATH is not used.\r\n\u2026\u2026\u2026\u2026\u2026\u2026\u7701\u7565\u90e8\u5206\u8f93\u51fa\u4fe1\u606f\u2026\u2026\u2026\u2026\u2026\u2026<\/pre>\n\n\n\n

\u4ee5\u77ed\u683c\u5f0f\u663e\u793a\u6307\u5b9a\u547d\u4ee4\u7684\u5e2e\u52a9\u4fe1\u606f\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# help -s cd<\/strong>\r\ncd: cd [-L|[-P [-e]] [-@]] [dir]\r<\/pre>\n\n\n\n

\u4ee5\u7b80\u77ed\u683c\u5f0f\u663e\u793a\u6307\u5b9a\u547d\u4ee4\u7684\u5e2e\u52a9\u4fe1\u606f\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# help -d cd<\/strong>\r\ncd - Change the shell working directory.<\/pre>\n\n\n\n

\u4ee5man\u547d\u4ee4\u683c\u5f0f\u663e\u793a\u6307\u5b9a\u547d\u4ee4\u7684\u5e2e\u52a9\u4fe1\u606f\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# help -m cd<\/strong>\r\nNAME\r\n    cd - Change the shell working directory.\r\n\r\nSYNOPSIS\r\n    cd [-L|[-P [-e]] [-@]] [dir]\r\n\r\nDESCRIPTION\r\n    Change the shell working directory.\r\n    \r\n    Change the current directory to DIR.  The default DIR is the value of the\r\n    HOME shell variable.\r\n\u2026\u2026\u2026\u2026\u2026\u2026\u7701\u7565\u90e8\u5206\u8f93\u51fa\u4fe1\u606f\u2026\u2026\u2026\u2026\u2026\u2026<\/pre>\n","protected":false},"excerpt":{"rendered":"

help\u547d\u4ee4\u7684\u529f\u80fd\u662f\u7528\u4e8e\u663e\u793a\u5e2e\u52a9\u4fe1\u606f\uff0c\u80fd\u591f\u8f93\u51faShell\u5185\u90e8\u547d\u4ee4\u7684\u5e2e\u52a9\u5185\u5bb9\uff0c\u4f46\u5bf9\u4e8e\u5916\u90e8\u547d\u4ee4\u5219\u65e0\u6cd5\u4f7f\u7528\uff0c\u9700\u8981\u7528m […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[7],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/493"}],"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=493"}],"version-history":[{"count":15,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/493\/revisions"}],"predecessor-version":[{"id":10274,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/493\/revisions\/10274"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=493"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=493"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=493"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}