Delete all lines of a file containing a regex pattern using sed 1

Delete all lines of a file containing a regex pattern using sed

Delete all lines of a file containing a regex pattern using sed. For example you can delete all commented lines of a default configuration file. Take a look on my basic regex cheat sheet  

 

Replace a string with a new one in all files using sed and xargs 2

Replace a string with a new one in all files using sed and xargs

Replace a string with a new one in all files using sed and xargs

     

comment specific line using sed command 3

comment specific line using sed command

Comment specific line using sed command can be used to configuration files …