
Hi friends, My situation is i have file named "sample.conf" which contains more IP Adressess.Eg: the file contains "IP=255.255.255.255" at some lines in the file. what i need to do is. i need to search for the particular occurance of the "IP=255.255.255.255" and exactly change the ip address which user enter. say if teh IP in teh file is IP=172.10.9.134" and user enters "172.10.8.123" means the IP should be updated as "IP=172.10.8.123"
guys please help., give some codes for this situation.
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.