[Tutor] Script
Amit Prasad
amit4465 at gmail.com
Thu Jun 28 07:21:19 CEST 2012
Hello Sir,
I want to write a script to replace hostname from /etc/hosts and
/etc/sysconfig/network files. And the new hostname will be a new entry
everytime. I mean everytime when i run the script and give a new hostname,
it should be replaced with the old one.
I am running out of time, please help me out, as i am new to scripting.
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20120628/619fccf8/attachment.html>
More information about the Tutor
mailing list