{"id":3884,"date":"2019-07-27T00:03:17","date_gmt":"2019-07-26T16:03:17","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=3884"},"modified":"2019-07-27T00:03:19","modified_gmt":"2019-07-26T16:03:19","slug":"whatis","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/whatis","title":{"rendered":"whatis\u547d\u4ee4 – \u67e5\u8be2\u547d\u4ee4\u6267\u884c\u529f\u80fd"},"content":{"rendered":"\n

whatis\u547d\u4ee4\u662f\u7528\u4e8e\u67e5\u8be2\u4e00\u4e2a\u547d\u4ee4\u6267\u884c\u4ec0\u4e48\u529f\u80fd\uff0c\u5e76\u5c06\u67e5\u8be2\u7ed3\u679c\u6253\u5370\u5230\u7ec8\u7aef\u4e0a\u3002<\/p>\n\n\n\n

whatis\u547d\u4ee4\u5728\u7528catman -w\u547d\u4ee4\u521b\u5efa\u7684\u6570\u636e\u5e93\u4e2d\u67e5\u627ecommand\u53c2\u6570\u6307\u5b9a\u7684\u547d\u4ee4\u3001\u7cfb\u7edf\u8c03\u7528\u3001\u5e93\u51fd\u6570\u6216\u7279\u6b8a\u6587\u4ef6\u540d\u3002whatis\u547d\u4ee4\u663e\u793a\u624b\u518c\u90e8\u5206\u7684\u9875\u7709\u884c\u3002\u7136\u540e\u53ef\u4ee5\u53d1\u51faman\u547d\u4ee4\u4ee5\u83b7\u53d6\u9644\u52a0\u7684\u4fe1\u606f\u3002whatis\u547d\u4ee4\u7b49\u540c\u4e8e\u4f7f\u7528man -f\u547d\u4ee4\u3002<\/p>\n\n\n\n

\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong> whatis [\u53c2\u6570] <\/p>\n\n\n\n

\u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n
\u5176\u4ed6\u547d\u4ee4<\/td>\u663e\u793a\u8be5\u547d\u4ee4\u7684\u6267\u884c\u529f\u80fd<\/td><\/tr><\/tbody><\/table>\n\n\n\n

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

ls\u547d\u4ee4\u6267\u884c\u60c5\u51b5\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# whatis ls\nls                   (1)  - list directory contents\nls                   (1p)  - list directory contents<\/pre>\n\n\n\n

cp\u547d\u4ee4\u6267\u884c\u60c5\u51b5\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# whatis cp\ncp                   (1)  - copy files and directories\ncp                   (1p)  - copy files<\/pre>\n\n\n\n

chown\u547d\u4ee4\u6267\u884c\u60c5\u51b5\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# whatis chown\nchown                (1)  - change file owner and group\nchown                (1p)  - change the file ownership\nchown                (2)  - change ownership of a file\nchown                (3p)  - change owner and group of a file\n<\/pre>\n\n\n\n

man\u547d\u4ee4\u6267\u884c\u60c5\u51b5\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# whatis man\nman                  (1)  - format and display the on-line manual pages\nman                  (1p)  - display system documentation\nman                  (7)  - macros to format man pages\nman                 (rpm) - A set of documentation tools: man, apropos and whatis.\nman-pages           (rpm) - Man (manual) pages from the Linux Documentation Project.\nman.config [man]     (5)  - configuration data for man<\/pre>\n","protected":false},"excerpt":{"rendered":"

whatis\u547d\u4ee4\u662f\u7528\u4e8e\u67e5\u8be2\u4e00\u4e2a\u547d\u4ee4\u6267\u884c\u4ec0\u4e48\u529f\u80fd\uff0c\u5e76\u5c06\u67e5\u8be2\u7ed3\u679c\u6253\u5370\u5230\u7ec8\u7aef\u4e0a\u3002 whatis\u547d\u4ee4\u5728\u7528catman […]<\/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\/3884"}],"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=3884"}],"version-history":[{"count":4,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/3884\/revisions"}],"predecessor-version":[{"id":4341,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/3884\/revisions\/4341"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=3884"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=3884"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=3884"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}