Mollien dot Net is IPv6 Enabled!


   My About.Me page
   View my profile on LinkedIn
   Follow me on Twitter
    View my Facebook profile   View my Hyves profile   View my YouTube favorites and uploads

      01010011
      01100101
      01110010
      01101001
      01101111
      01110101
      01110011
      01000111
      01100101
      01100101
      01101011

IPv6 Certification Badge for Cas Mollien
 


 
One-Liners
 
Replace a string inside a file
 
To replace a string inside a file (or multiple files), use the following command:

perl -pi -e "s/search/replace/g;" filename

Substitute 'search' with what you want to search for, 'replace' with what you want to replace it with and 'filename' with the file you want to change. Wildcards are accepted, such as *.txt
 
Found this script/snippet useful? Please consider buying me a beer - or something else useful..
 

 
Terug naar Mollien Dot Net

Terug naar Mollien Dot Net

Terug naar Mollien Dot Net
Total Hits: 1
Unique Visitors: 1
Page Impressions : 1
Remote address: 54.81.210.99