I can open and edit files with vi command, but cannot save them?
please,help me.
thanks
I can open and edit files with vi command, but cannot save them?
please,help me.
thanks
Is this what you want?
http://www.chem.brown.edu/instructions/vi.html#insert
You can also try to use pico or nano instead.
These two editors are available in most *nix distros, and are easy to work with.
Stefaniu -gupi- Criste
Hangar Hosting - a safe place for your Romanian online business
I am logining via root, but my server don`t accept pico command. how can i enable this command on my server?
If neither nano command is working, try installing it from www.nano-editor.org/
Stefaniu -gupi- Criste
Hangar Hosting - a safe place for your Romanian online business
http://www.gentoo.org/images/vicheat-final.png
ESC, :wq
or
ESC, Shift + ZZ
How did you even edit the file in VI!??
Here's a tutorial: http://www.eng.hawaii.edu/Tutor/vi.html
I learned Vi on Mandrake, which I later found out used a different version of vi then what I now use on FreeBSD.