echo “” >a.log
grep -v “abcd=1234” a.log
sed -i ‘s/abcd=1234/abcd=5678/g’ a.log
Linux命令应用1
原文:https://www.cnblogs.com/gaodenghan/p/14153068.html