[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
OT: Sed/Perl script tp comment out specifc line
- From: "Chuck" <redhat clinicomp com>
- To: <redhat-list redhat com>
- Subject: OT: Sed/Perl script tp comment out specifc line
- Date: Fri, 31 Aug 2001 15:27:37 -0700
I have about 200 remote servers that run a custom application each with
a tailored config file (ie no two are the same). I need to comment out 2
lines that are the same in every file for all 200 servers. What is the
easiest way to do this? I currently use rsh to manage these servers so I
wanted to create a script, either in perl or sed, that can modify the
file, distribute this script to each host and execute it there.
How would you guys go about this?
Thanks,
CC
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]