Get Started with the following
To use vi: vi filename
To insert text: i
To exit vi and save changes: ZZ
or :wq
To exit vi without saving changes: :q!
To enter vi command mode: [esc]
knowledgebase, tips, snippets, best practices, more
Get Started with the following
To use vi: vi filename
To insert text: i
To exit vi and save changes: ZZ
or :wq
To exit vi without saving changes: :q!
To enter vi command mode: [esc]