Add an IP address to the start of every line in a text file
Posted: 31 May 2015 15:31
I take the occasion to greet you and thank you for your help ..forgive my English but I write from Italy
I have a list of servers in a .txt file must modify it by adding thiss 127.0.0.1 before each server, including a space between 127.0.0.1 and the server name
I would need to enter in a text file that contains a list of servers written vertically, I have to create a file that allows me to enter 127.0.0.1 in front of each server but 'keeping a space between 127.0.0.1 and the server name, example:
171.24.24.48
172.89.89.24
must 'become so in the file text
127.0.0.1 171.24.24.48
127.0.0.1 172.89.89.24
I have a list of servers in a .txt file must modify it by adding thiss 127.0.0.1 before each server, including a space between 127.0.0.1 and the server name
I would need to enter in a text file that contains a list of servers written vertically, I have to create a file that allows me to enter 127.0.0.1 in front of each server but 'keeping a space between 127.0.0.1 and the server name, example:
171.24.24.48
172.89.89.24
must 'become so in the file text
127.0.0.1 171.24.24.48
127.0.0.1 172.89.89.24