2018年11月20日 星期二

sed 搜尋某特定字符串的行頭添加字符串

sed 搜尋某特定字符串的行頭添加字符串

沒學好只好多記錄 

sed -i '/字串/  s/^/#/'  /tmp/testfile


沒有留言:

張貼留言