replace string with sed but not the first one

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]





Hi, 
  
We have a the following file 
[ip-map] 
# Unchanged IP addresses: 
# Please review default IP addresses mapping below: 
192.168.1.10 shared    ->      192.168.123.6 shared 
[namexx] 
192.168.1.10 
naam   192.168.1.10 



We want to replace 192.168.1.10  to a other string but i don't want to change te first one. 
  
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux