bash:files:delete_a_line_that_matches_a_pattern
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
bash/files/delete_a_line_that_matches_a_pattern.txt · Last modified: 2022/06/13 10:21 by peter