grep "^[^#;]" smb.conf. The first ^ refers to the beginning of the line, so lines with comments starting after the first character will not be excluded.
確定! 回上一頁