Eire09
Enthusiast
Enthusiast

Editing config.xml file (What is the command to save)?

Jump to solution

Hi,

I am using ESXi 4.1. I'm connected to the host via SSH & Putty.

I need to add something to the config.xml file however I can't save any changes to it.

I connected to /etc/vmware/hostd #vi config.xml

When I add a line & try to save it doesn't. How do you save changes to a file? I've tried Ctrl X, S, Z

Thanks guys.

0 Kudos
1 Solution

Accepted Solutions
VTsukanov
Virtuoso
Virtuoso

(+)

:wq means you need swich to command mode by esc. Also take a look at Vi Cheat Sheet

View solution in original post

0 Kudos
2 Replies
nielse
Expert
Expert

:w

This will save the file.

: x (without space)

This will save and close the file.

@nielsengelen - http://foonet.be - VCP4/5
VTsukanov
Virtuoso
Virtuoso

(+)

:wq means you need swich to command mode by esc. Also take a look at Vi Cheat Sheet

View solution in original post

0 Kudos