Linux delete line where string appears

Linux delete line where string appears

sed -e '/abc/d' a.txt > a.log

delete the line where abc is and save the resulting file to a.log

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326863999&siteId=291194637