testparm命令 testparm命令用于简单测试Samba的配置文件是否正确。 用法 testparm 参数 -s:不显示提示符 实例 [root@linux ~]# testparm #查看Samba配置