Easy question
Paul B. Brown
pbrown at btechnet.com
Sat Nov 6 18:45:02 UTC 1999
Actually, the command is sed. Read the man page to find out how to
replace one string with another:
sed -e 's/string1/string2/g'
To delete a line:
sed -e '/string/d'
etc, etc, etc . . . .
paul
---------------------------------------------------------------------------
Paul B. Brown pbrown at btechnet.com
President
Brown Technologies Network, Inc. http://www.btechnet.com/
Unix Systems Administration "Sailing is a state of mind . . . ."
---------------------------------------------------------------------------
On Fri, 5 Nov 1999, Alex wrote:
> Can someone tell me how I can replace 1 line of text in 290 db files? Is
> there some sort of grep command or vi command that will recursively go thru
> each db.domain.com file in my /var/named dir and replace a current name
> server with a new name server?
>
> Please email me if you know!
>
> Alex
>
>
>
More information about the bind-users
mailing list