lwsamcn01
Enthusiast
Enthusiast

how to save log file in text edit in ssh

Jump to solution

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
Commander
Commander
Spoiler
Hello.

Please see the following link

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


 

Enrique Espinel
Senior Technical Support IBM, Lenovo, VMware vSphere and Veeam Backup.
VMware VSP-SV, VTSP-SV, VTSP-HCI, VTSP 5
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
Virtuoso
Virtuoso

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
Commander
Commander
Spoiler
Hello.

Please see the following link

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


 

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

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

ZZ

these are two uppercase z.

regards,
Joerg

0 Kudos