How do I edit a file in Ubuntu?

Man Ly

New member
How do I edit a file in Ubuntu?
Answer
Using ‘vim’ to create and edit a file
  • Log into your server via SSH.
  • Navigate to the directory location you wish to create the file, or edit an existing file.
  • Type in vim followed by the name of the file.
  • Click the letter ‘i’ on your keyboard to enter INSERT mode in ‘vim’.
  • Start typing into the file.
 

Tìm kiếm

Back
Top