VIM

Change word in file (in vim) :

:%s/word1/word2/g

Ouvrire with tab :

$ vim -p file