{"id":3334,"date":"2020-02-25T17:17:37","date_gmt":"2020-02-25T09:17:37","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=3334"},"modified":"2022-05-06T17:28:41","modified_gmt":"2022-05-06T09:28:41","slug":"man","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/man","title":{"rendered":"man\u547d\u4ee4 – \u67e5\u770b\u5e2e\u52a9\u4fe1\u606f"},"content":{"rendered":"\n

man\u547d\u4ee4\u6765\u81ea\u4e8e\u82f1\u6587\u5355\u8bcdmanual\u7684\u7f29\u5199\uff0c\u4e2d\u6587\u8bd1\u4e3a\u5e2e\u52a9\u624b\u518c\uff0c\u5176\u529f\u80fd\u662f\u7528\u4e8e\u67e5\u770b\u547d\u4ee4\u3001\u914d\u7f6e\u6587\u4ef6\u53ca\u670d\u52a1\u7684\u5e2e\u52a9\u4fe1\u606f\u3002\u7f51\u4e0a\u641c\u7d22\u6765\u7684\u8d44\u6599\u666e\u904d\u4e0d\u591f\u51c6\u786e\uff08LinuxCool.Com\u9664\u5916~\uff09\uff0c\u6216\u8005\u7f3a\u4e4f\u7cfb\u7edf\u6027\uff08LinuxProbe.Com\u9664\u5916~\uff09\uff0c\u8d28\u91cf\u4e0d\u9ad8\u9020\u6210\u5b66\u4e60\u8fdb\u5ea6\u7f13\u6162\uff0c\u800cman\u547d\u4ee4\u4f5c\u4e3a\u6743\u5a01\u7684\u5b98\u65b9\u5de5\u5177\u5219\u5f88\u597d\u7684\u89e3\u51b3\u4e86\u4e0a\u8ff0\u4e24\u70b9\u5f0a\u75c5\uff0c\u4e00\u4efd\u5b8c\u6574\u7684\u5e2e\u52a9\u4fe1\u606f\u5305\u542b\u4ee5\u4e0b\u4fe1\u606f\u3002<\/p>\n\n\n\n

\u7ed3\u6784\u540d\u79f0<\/td>\u4ee3\u8868\u610f\u4e49<\/td><\/tr>
NAME<\/td>\u547d\u4ee4\u7684\u540d\u79f0<\/td><\/tr>
SYNOPSIS<\/td>\u53c2\u6570\u7684\u5927\u81f4\u4f7f\u7528\u65b9\u6cd5<\/td><\/tr>
DESCRIPTION<\/td>\u4ecb\u7ecd\u8bf4\u660e<\/td><\/tr>
EXAMPLES<\/td>\u6f14\u793a\uff08\u9644\u5e26\u7b80\u5355\u8bf4\u660e\uff09<\/td><\/tr>
OVERVIEW<\/td>\u6982\u8ff0<\/td><\/tr>
DEFAULTS<\/td>\u9ed8\u8ba4\u7684\u529f\u80fd<\/td><\/tr>
OPTIONS<\/td>\u5177\u4f53\u7684\u53ef\u7528\u9009\u9879\uff08\u5e26\u4ecb\u7ecd\uff09<\/td><\/tr>
ENVIRONMENT<\/td>\u73af\u5883\u53d8\u91cf<\/td><\/tr>
FILES<\/td>\u7528\u5230\u7684\u6587\u4ef6<\/td><\/tr>
SEE ALSO<\/td>\u76f8\u5173\u7684\u8d44\u6599<\/td><\/tr>
HISTORY<\/td>\u7ef4\u62a4\u5386\u53f2\u4e0e\u8054\u7cfb\u65b9\u5f0f<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n

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

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

-a<\/td>\u5728\u6240\u6709\u7684man\u5e2e\u52a9\u624b\u518c\u4e2d\u641c\u7d22<\/td><\/tr>
-d<\/td>\u68c0\u67e5\u65b0\u52a0\u5165\u7684\u6587\u4ef6\u662f\u5426\u6709\u9519\u8bef<\/td><\/tr>
-f<\/td>\u663e\u793a\u7ed9\u5b9a\u5173\u952e\u5b57\u7684\u7b80\u77ed\u63cf\u8ff0\u4fe1\u606f<\/td><\/tr>
-p<\/td>\u6307\u5b9a\u5185\u5bb9\u65f6\u4f7f\u7528\u5206\u9875\u7a0b\u5e8f<\/td><\/tr>
-M<\/td>\u6307\u5b9aman\u624b\u518c\u641c\u7d22\u7684\u8def\u5f84<\/td><\/tr>
-w<\/td>\u663e\u793a\u6587\u4ef6\u6240\u5728\u4f4d\u7f6e<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n

\u5feb\u6377\u952e\uff1a<\/strong><\/p>\n\n\n\n

q<\/td>\u9000\u51fa<\/td><\/tr>
Enter<\/td>\u6309\u884c\u4e0b\u7ffb<\/td><\/tr>
Space<\/td>\u6309\u9875\u4e0b\u7ffb<\/td><\/tr>
b<\/td>\u4e0a\u7ffb\u4e00\u9875<\/td><\/tr>
\/\u5b57\u7b26\u4e32<\/td>\u5728\u624b\u518c\u9875\u4e2d\u67e5\u627e\u5b57\u7b26\u4e32<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n

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

\u67e5\u770b\u6307\u5b9a\u547d\u4ee4\u7684\u5e2e\u52a9\u4fe1\u606f\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# man ls<\/strong><\/pre>\n\n\n\n

\u67e5\u770b\u6307\u5b9a\u914d\u7f6e\u6587\u4ef6\u7684\u5e2e\u52a9\u4fe1\u606f\uff1a<\/p>\n\n\n\n

\u5982\u679c\u5373\u6709passwd\u547d\u4ee4\uff0c\u53c8\u6709\/etc\/passwd\u6587\u4ef6\uff0c\u5219\u9700\u8981\u624b\u52a8\u6307\u5b9a\u5e2e\u52a9\u4fe1\u606f\u7684\u7f16\u53f7\u3002\u7f16\u53f7\u89c4\u5219\uff1a\u666e\u901a\u547d\u4ee4\u4e3a1\uff0c\u51fd\u6570\u4e3a2\uff0c\u5e93\u6587\u4ef6\u4e3a3\uff0c\u8bbe\u5907\u4e3a4\uff0c\u914d\u7f6e\u6587\u4ef6\u4e3a5\uff0c\u6e38\u620f\u4e3a6\uff0c\u5b8f\u6587\u4ef6\u4e3a7\uff0c\u7cfb\u7edf\u547d\u4ee4\u4e3a8\uff0c\u5185\u6838\u7a0b\u5e8f\u4e3a9\uff0cTK\u6307\u4ee4\u4e3a10\u3002<\/p>\n\n\n\n

[root@linuxcool ~]# man 5 passwd<\/strong><\/pre>\n\n\n\n

\u627e\u5230\u67d0\u4e2a\u547d\u4ee4\u7684\u5e2e\u52a9\u4fe1\u606f\u7684\u5b58\u50a8\u4f4d\u7f6e\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# man -w ls<\/strong>\n\/usr\/share\/man\/man1\/ls.1.gz<\/pre>\n\n\n\n

\u627e\u5230\u67d0\u4e2a\u914d\u7f6e\u6587\u4ef6\u7684\u5e2e\u52a9\u4fe1\u606f\u7684\u5b58\u50a8\u4f4d\u7f6e\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# man -w 5 passwd<\/strong>\n\/usr\/share\/man\/man5\/passwd.5.gz\n<\/pre>\n","protected":false},"excerpt":{"rendered":"

man\u547d\u4ee4\u6765\u81ea\u4e8e\u82f1\u6587\u5355\u8bcdmanual\u7684\u7f29\u5199\uff0c\u4e2d\u6587\u8bd1\u4e3a\u5e2e\u52a9\u624b\u518c\uff0c\u5176\u529f\u80fd\u662f\u7528\u4e8e\u67e5\u770b\u547d\u4ee4\u3001\u914d\u7f6e\u6587\u4ef6\u53ca\u670d\u52a1\u7684\u5e2e\u52a9\u4fe1\u606f\u3002 […]<\/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\/3334"}],"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=3334"}],"version-history":[{"count":12,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/3334\/revisions"}],"predecessor-version":[{"id":9325,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/3334\/revisions\/9325"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=3334"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=3334"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=3334"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}