vi g/x/s//y/g
->s/192.168.1.30/192.168.1.20/g #in one line
->%s/192.168.1.30/192.168.1.20/g #in whole file
:260,284s/10.0.6.162/newhostname/g #line 260-284

computer2know :: thank you for your visit :: have a nice day :: © 2024