Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

linux remove lines from file

grep -v "pattern" file > temp && mv temp file
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #linux #remove #lines #file
ADD COMMENT
Topic
Name
7+4 =