Hello Sir,<br>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.<br>
I am running out of time, please help me out, as i am new to scripting.<br><br>Thanks<br>