{"id":6162,"date":"2019-12-30T21:07:35","date_gmt":"2019-12-30T13:07:35","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=6162"},"modified":"2020-01-11T23:22:08","modified_gmt":"2020-01-11T15:22:08","slug":"testparm","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/testparm","title":{"rendered":"testparm\u547d\u4ee4 – \u6d4b\u8bd5Samba\u7684\u8bbe\u7f6e\u662f\u5426\u6b63\u786e\u65e0\u8bef"},"content":{"rendered":"\n

testparm\u547d\u4ee4\u7528\u4e8e\u6d4b\u8bd5Samba\u7684\u8bbe\u7f6e\u662f\u5426\u6b63\u786e\u65e0\u8bef\uff0c\u6267\u884ctestparm(test parameter)\u6307\u4ee4\u53ef\u4ee5\u7b80\u5355\u6d4b\u8bd5Samba\u7684\u914d\u7f6e\u6587\u4ef6\uff0c\u5047\u5982\u6d4b\u8bd5\u7ed3\u679c\u65e0\u8bef\uff0cSamba\u5e38\u9a7b\u670d\u52a1\u5c31\u80fd\u6b63\u786e\u8f7d\u5165\u8be5\u8bbe\u7f6e\u503c\uff0c\u4f46\u5e76\u4e0d\u4fdd\u8bc1\u5176\u540e\u7684\u64cd\u4f5c\u5982\u9884\u671f\u822c\u4e00\u5207\u6b63\u5e38\u3002<\/p>\n\n\n\n

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

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

-s <\/td>\u76f4\u63a5\u5217\u51faSamba\u670d\u52a1\u5b9a\u4e49\u4fe1\u606f<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n

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

\u67e5\u770bSamba\u914d\u7f6e\uff0c\u6309Enter\u952e\u663e\u793aSamba\u914d\u7f6e\u7ed3\u679c\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# testparm<\/pre>\n\n\n\n

\u76f4\u63a5\u67e5\u770bSamba\u914d\u7f6e \uff1a <\/p>\n\n\n\n

[root@linuxcool ~]# testparm -s<\/pre>\n","protected":false},"excerpt":{"rendered":"

testparm\u547d\u4ee4\u7528\u4e8e\u6d4b\u8bd5Samba\u7684\u8bbe\u7f6e\u662f\u5426\u6b63\u786e\u65e0\u8bef\uff0c\u6267\u884ctestparm(test parameter) […]<\/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\/6162"}],"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=6162"}],"version-history":[{"count":11,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/6162\/revisions"}],"predecessor-version":[{"id":6409,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/6162\/revisions\/6409"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=6162"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=6162"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=6162"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}