VMware Cloud Community
Eire09
Enthusiast
Enthusiast
Jump to solution

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

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.

Reply
0 Kudos
1 Solution

Accepted Solutions
VTsukanov
Virtuoso
Virtuoso
Jump to solution

(+)

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

View solution in original post

Reply
0 Kudos
2 Replies
nielse
Expert
Expert
Jump to solution

: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
Jump to solution

(+)

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

Reply
0 Kudos