Home Man
Search
Today's Posts
Register

This forum is closed for new posts. Please post beginner questions to learn unix and learn linux in the UNIX for Beginners Questions & Answers forum.

how to find and replace strings in multiple files

Tags
beginners

 

 
Thread Tools Search this Thread
# 1  
Old 02-11-2011
how to find and replace strings in multiple files

Hi All,
Iam new to unix, I need to find string and replace it in the file name. Like
text_123_0.txt,text_123_1.txt,text_123_2.txt. I need to search 123 and replace it with 234 . Is there any unix command to replace them in single command since i have 5 directories. So i need to go each and every directory.
I need to replace 123 with 234 in each directory. Please give any suggestions

Last edited by etldeveloper; 02-11-2011 at 12:55 PM.. Reason: Moved from AIX forum
 

« Previous Thread | Next Thread »
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Find and replace from multiple files ninocap UNIX for Beginners Questions & Answers 2 06-12-2018 04:14 AM
Find and replace in multiple files ashokvpp Shell Programming and Scripting 1 05-04-2018 07:45 AM
Find multiple strings and replace single string chettyravi Shell Programming and Scripting 2 07-09-2013 07:51 AM
Search & Replace: Multiple Strings / Multiple Files spacegoose Shell Programming and Scripting 2 10-16-2012 08:17 PM
How to find multiple strings within files under a directory frum Shell Programming and Scripting 2 07-12-2012 07:40 AM
Script to find & replace a multiple lines string across multiple php files and subdirectories spfc_dmt Shell Programming and Scripting 12 03-07-2012 09:05 AM
Find Multiple Strings from a list of *.gz files withour decompressing... varun87 UNIX for Dummies Questions & Answers 4 07-13-2011 03:27 AM
awk find and replace in multiple files jdhahbi Shell Programming and Scripting 7 07-22-2009 10:03 AM
Help with Find/Replace Javascript Injected Strings in mulitple files zzlegs Shell Programming and Scripting 1 05-28-2009 07:29 PM
Find and replace files in multiple folders lodey Shell Programming and Scripting 6 09-28-2007 02:00 AM


All times are GMT -4. The time now is 06:17 AM.

Unix & Linux Forums Content Copyright©1993-2018. All Rights Reserved.
UNIX.COM Login
Username:
Password:  
Show Password