Tag archives for vi

Useful VI Commands


To Start vi filename     edit filename starting at line 1 vi -r filename     recover filename that was being edited when system crashed To Exit :x<Return>     quit vi, writing out modified file to file named in original invocation :wq<Return>     quit vi, writing out modified file to file named in original invocation :q<Return> […]