How to save and exit
i tried every method listed here and none works, i have a centos 5, vi comes by default with yum and i installed nano
just changed the default editor
and now i can do what I do using nano :) thanks everyone and yes i should learn Vi.. someday!!!