>$ mv foo.conf foo.conf.orig >$ cp foo.conf.orig foo.conf >$ vi foo.conf > >If you hsve to restore the >original file: > >$ mv foo.conf.orig foo.conf You can also just cp -p it (preserve), to save a step. cp -p foo.conf foo.conf.org vi foo.conf -Ryan