![]() |
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 |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| comparing values of same variable | coolkid | Shell Programming and Scripting | 2 | 05-27-2008 05:45 PM |
| Replacing $ in variable | ashish_uiit | UNIX for Dummies Questions & Answers | 10 | 02-29-2008 09:29 AM |
| replacing a line that may have different values on different servers | fed.linuxgossip | Shell Programming and Scripting | 3 | 12-31-2007 06:36 PM |
| Replacing set of characters with a value of a variable | prekida | Shell Programming and Scripting | 1 | 07-26-2005 08:14 PM |
| Replacing pattern in variable | videsh77 | Shell Programming and Scripting | 1 | 05-26-2005 02:11 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
replacing variable values in all files in directories
Hi Guys,
I have some basic unix knowlege but new to shell scripting. I want to replace variable values in all files in sub-directories. Any sugestion will be helpful. Example. Main Dir: X Sub Dir: X1, X2, X3, X4, X5, X6.... X10 Each sub directory has file which contains variable A = 10. I want to change value to 20 and this value should be replaced in all files in sub directories (X1.. X10) Thanks |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|