Friday, March 25, 2022

Replace data in file in all occurances

:%s/google.com/google.com:8020/g


Above command will add port 8020 in all the occurances of google.com

No comments:

Post a Comment

Popular Posts

Most Featured Post

GitHub: Squash all commits in PR

  Command Meaning git fetch origin Get the latest origin/master . git reset --soft origin/master Move your branch to match origin/master , b...