BASH - Files - Delete a line that matches a pattern
sed
'/someword/d'
/
tmp
/
data.txt
>
/
tmp
/
output.data.txt
Edit files in place
sed
-i
'/someword/d'
/
tmp
/
data.txt