View Single Post
Posts: 258 | Thanked: 144 times | Joined on Oct 2009 @ Edinburgh
#114
Originally Posted by stobbsc View Post
How do you save and exit using vi?

Is there somewhere I can read up about it. I've found a wiki page but thats chinook :-(
there are hundreds of Vi wikies out there

but to save its
ESC :w
and to exit without saving
ESC :q

but you really need to read up on it. you can get a file in a right state if you dont know how to use it