Table 6-13 Saving and Quitting
Command | Description |
---|---|
:w | Save changes (write buffer) |
:w filename | Write buffer to named file |
:wq | Save changes and quit vi |
ZZ | Save changes and quit vi |
:q! | Quit without saving changes |
| ||||||||||||||
6. Using the vi Editor Summary of Basic vi Commands |