Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: Mike Niedzwiedz on March 16, 2001, 07:20:15 PM
-
Hello i am trying to edit config.php useing the vi command via telnet, can someone tell me how to save the file after modifying it??? thanks im learning..
-
Try this,
After you've made your modifications
press [escape] to go to command mode
then ":x" followed by Return
That should save and exit vi.
Regards
Rob
-
Mike Niedzwiedz wrote:
> Hello i am trying to edit config.php useing the vi command
> via telnet
Try using "pico" instead. There's a nice little "cheat sheet" down the bottom of the screen.
Charlie
-
in vi
esc to exit insert mode
:w to write changes
:q to exit
:q! to exit and discard changes