VMware Cloud Community
lwsamcn01
Enthusiast
Enthusiast
Jump to solution

how to save log file in text edit in ssh

Hi, 

I am new on vmware. 

Somebody could inform me how to save text editor and return the command line?

I use putty open VC appliance. using VI open cloudvm_ram_size.log to configure rotation.

After edit, I do not know how to ext and return to command line.

 

brgds

Liu Wei

 

Labels (1)
  • Hi

0 Kudos
2 Solutions

Accepted Solutions
e_espinel
Virtuoso
Virtuoso
Jump to solution

Spoiler
Hello.

Please see the following link

https://www.guru99.com/the-vi-editor.html


 

Enrique Espinel
Senior Technical Support on IBM, Lenovo, Veeam Backup and VMware vSphere.
VSP-SV, VTSP-SV, VTSP-HCI, VTSP
Please mark my comment as Correct Answer or assign Kudos if my answer was helpful to you, Thank you.
Пожалуйста, отметьте мой комментарий как Правильный ответ или поставьте Кудо, если мой ответ был вам полезен, Спасибо.

View solution in original post

0 Kudos
IRIX201110141
Champion
Champion
Jump to solution

for saving and exit with in "vi" press ESC-Key following by

ZZ

these are two uppercase z.

regards,
Joerg

View solution in original post

0 Kudos
2 Replies
e_espinel
Virtuoso
Virtuoso
Jump to solution

Spoiler
Hello.

Please see the following link

https://www.guru99.com/the-vi-editor.html


 

Enrique Espinel
Senior Technical Support on IBM, Lenovo, Veeam Backup and VMware vSphere.
VSP-SV, VTSP-SV, VTSP-HCI, VTSP
Please mark my comment as Correct Answer or assign Kudos if my answer was helpful to you, Thank you.
Пожалуйста, отметьте мой комментарий как Правильный ответ или поставьте Кудо, если мой ответ был вам полезен, Спасибо.
0 Kudos
IRIX201110141
Champion
Champion
Jump to solution

for saving and exit with in "vi" press ESC-Key following by

ZZ

these are two uppercase z.

regards,
Joerg

0 Kudos