![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Directory inside directory problem | namishtiwari | Shell Programming and Scripting | 6 | 01-27-2008 04:07 AM |
| replacing a number with random variable inside shell script | user_prady | Shell Programming and Scripting | 3 | 09-11-2007 02:44 AM |
| Replacing text | chrchcol | Shell Programming and Scripting | 3 | 07-25-2006 12:30 PM |
| replacing text | ajaya | Shell Programming and Scripting | 2 | 04-12-2006 12:31 PM |
| Directory list inside a directory | little_jhon | UNIX for Dummies Questions & Answers | 6 | 01-14-2006 01:05 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Replacing text inside a directory
This is my first post to this group.I am new to Unix.I have one requirement
I need to replace a text in all the files in a directory and sub-directory.Eg i have a folder structure like /usr/local/abc , inside abc i have several directories and several files. All the files inside abc and all the files inside sub-directories of abc has the text 'usr/local/def' hard coded. I need to replace the 'usr/local/def to usr/local/ghi. This needs to be repalced for all the files and files of subdirectories in abc. Can someone help me out here? Thanks |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|