Remove comment from file Posted by Keep Growing on 上午10:55 in Linux / No comments sed -e ‘/^[ ]*#/d’ -e ‘/^$/d’ /etc/samba/smb.conf Reference: 1. [Linux] Displaying a file without the commentary lines Share This: Facebook Twitter Google+ Stumble Digg 以電子郵件傳送這篇文章BlogThis!分享至 X分享至 Facebook
0 意見:
張貼留言