Info
You are currently browsing the Vigyan on Technology weblog archives for September, 2009.
Calendar
| M | T | W | T | F | S | S |
|---|---|---|---|---|---|---|
| « Aug | Dec » | |||||
| 1 | 2 | 3 | 4 | 5 | 6 | |
| 7 | 8 | 9 | 10 | 11 | 12 | 13 |
| 14 | 15 | 16 | 17 | 18 | 19 | 20 |
| 21 | 22 | 23 | 24 | 25 | 26 | 27 |
| 28 | 29 | 30 | ||||
Categories
- ESX Server (1)
- Installation (1)
- Linux (3)
- Mac World (5)
- MythTV (1)
- Oracle (1)
- PHP (1)
- Tools (1)
Latest Postings
- 8. December 2009: How to Change Screenshot Format in Mac OS X
- 2. September 2009: Replace A String In The File Using Perl
- 31. August 2009: TNS-03505: Failed to resolve name
- 4. August 2009: How to login to VMware ESX Server 3i with SSH?
- 31. July 2009: My unqualified host name - Sendmail is slow
- 29. July 2009: How to install linux-header in Ubuntu
- 24. June 2009: Watch TV does not work - ERROR when trying to delete file
- 7. June 2009: How to enable error reporting in PHP?
- 7. January 2009: How to Flush DNS Cache in Mac OSX 10.5 Leopard?
- 8. October 2008: Software to Burn CD/DVD for Mac
Links
Archives
Archive for September 2009
Replace A String In The File Using Perl
2. September 2009 by VK.
It is easier to use perl than sed to replace a string using perl.Try this.perl -pi -e ’s/existing_string/new_string/g’ file_name-Vigyan
Posted in Linux | No Comments »
|