Đặng Thị Thúy Hằng
New member
How do I create and edit a file in Linux?
Answer
Using ‘vim’ to create and edit a file
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 in or edit an existing file.
- Type in vim followed by the name of the file. …
- Press the letter i on your keyboard to enter INSERT mode in vim. …
- Start typing into the file.