Perl search and replace from command line

Written by MyComputerAid on Saturday, June 7, 2008 11:34 - 0 Comments

This is a simple way to do a perl search and replace for multiple files from the Linux command line.

 

perl -pi -e ’s/word to replace/replace with this word/g’ ./*.*

Article written by MyComputerAid.com

Related posts:

  1. Running IE from the command line
  2. Office Normal.dot errors and repair
  3. Online Support Site for Internet Explorer
  4. Using Windows Explorer as Admin
  5. Linux LAMP an overview
  6. Kiosk Computers
  7. Listing your GPOs and GPO links
  8. Access hotkeys and shortcuts
  9. Commercial grade Linux monitoring systems
  10. Ubuntu – Reboot your system and force disk scan/check



Comments are closed.

Join our mailing list

Receive computer support information.

E-mail:

Ad

2003 server - Sep 30, 2008 22:34 - 0 Comments

instant messaging srv records

More In Computers & PC


Microsoft Outlook - Mar 22, 2009 11:22 - 0 Comments

Outlook: Duplicates in Mailbox

More In Computers & PC


Microsoft Desktop, Web browsers and Internet, Windows 2000, Windows 7, Windows 98, Windows Firewall and networking, Windows Vista, Windows XP - Feb 8, 2010 18:09 - 0 Comments

Disable Proxy settings in IE

More In Computers & PC