How to edit a file in Linux VM
When editing files in a Terminal Window, you can use vi, emacs, or pluma. The vi/emacs editors use keyboard shortcuts and may take a while to learn, while pluma is a very basic editor. To launch pluma, type:
pluma myfile.txt
In the Desktop environment, you can also use the Pluma Text Editor.