Showing posts with label Unix. Show all posts
Showing posts with label Unix. Show all posts

Sunday, June 27, 2010

General VI Commands In Unix

General VI Commands In Unix

Create/Edit File
vi:
vi filename

Save Command In Unix
:w

Save Existing File Command In Unix
:w!

Save & Exit Command In Unix
:wq

Exit Command In Unix
:q

Exit without Save Command In Unix
:q!