Link to home
Start Free TrialLog in
Avatar of Raghav
RaghavFlag for India

asked on

Script to modify multiple files in Ubuntu / CentOS

Hello Experts,

I want to edit few files from Ubuntu and CentOS. The files to edit are -

/etc/network/interfaces and /etc/resolv.conf. Since i have about 50+ clients where i have to do this, i was searching for a script or something which can change the files as needed.

Appreciate your expert advise on how to do this. Thank you.

Best Regards
Raghav.
ASKER CERTIFIED SOLUTION
Avatar of Phil Phillips
Phil Phillips
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Raghav

ASKER

Thanks Phil. This is what i was looking for.

Best Regards
Raghav.