Quantcast
Channel: linuxadmin: Expanding Linux SysAdmin knowledge
Viewing all articles
Browse latest Browse all 17761

Need some help with sed.

$
0
0

I have a config file that I need to replace a unknown IP address between to strings but having issues escaping the < , / and >

The files has the below.

<client> <server-ip>10.23.45.67</server-ip> </client> 

I need to be be changed to the below.

<client> <server-ip>76.54.32.01</server-ip> </client> 
submitted by /u/WOLF3D_exe
[link] [comments]

Viewing all articles
Browse latest Browse all 17761

Trending Articles