Đặng Thị Ngọc Diệp
New member
How do I open a vi file in Terminal?
Answer
Vi is a terminal application, so you’ll have to start it from a terminal window.
Use the vi /path/to/file command to open an existing file with Vi. The vi /path/to/file command also works if the file doesn’t exist yet; Vi will create a new file and write it to the specified location when you save.
Answer
Vi is a terminal application, so you’ll have to start it from a terminal window.
Use the vi /path/to/file command to open an existing file with Vi. The vi /path/to/file command also works if the file doesn’t exist yet; Vi will create a new file and write it to the specified location when you save.