Entry
Operating system: Linux: Editor: Vi: Save: How to save and quit the current file?
Feb 25th, 2004 13:16
Knud van Eeden,
----------------------------------------------------------------------
--- Knud van Eeden --- 22 November 2003 - 08:02 pm -------------------
Operating system: Linux: Editor: Vi: Save: How to save and quit the
current file?
---
Use the command
:wq
---
(or thus in order to remember it easier:
wq = WriteQuit)
---
Steps: Overview:
1. -Start VI with your file
e.g.
vi myfile.dok
2. -Press <INSERT> to start editing the file
3. -When finished, type
1. press <ESCAPE>
2. type the colon character
:
3. type the 2 characters
wq
4. That will save and quit the current file
---
---
Internet: see also:
---
Operating system: Linux: Console: Start: How to start a console in
Linux? [terminal]
http://www.faqts.com/knowledge_base/view.phtml/aid/26684/fid/107
---
Operating system: Linux: Editor: VI: File: Overview: Can you give an
overview of the VI editor?
http://www.faqts.com/knowledge_base/view.phtml/aid/29029/fid/1561
----------------------------------------------------------------------