search and replace in vi vim

Quick tip:

Search and replace in vi
Search and replace in vim

:g/oldtext/s//newtext/

Comments

Post a Comment

Comments are moderated. No spam please.

Popular posts from this blog

Squid Access.log Meaning Explained

ubuntu nepal

[Solved] invalid partition table on /dev/sda -- wrong signature 0.