Answers for "linux remove a line from txt file"

0

delete lines text file linux

sed -i '' '/pattern to match/d' ./infile
Posted by: Guest on October-20-2020
0

linux remove lines from file

grep -v "pattern" file > temp && mv temp file
Posted by: Guest on September-13-2021

Code answers related to "linux remove a line from txt file"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language