Vân Anh Nguyen
Member
How do I open and edit a file in Linux terminal?
Answer
How to edit files in Linux
Answer
How to edit files in Linux
- Press the ESC key for normal mode.
- Press i Key for insert mode.
- Press :q! keys to exit from the editor without saving a file.
- Press :wq! Keys to save the updated file and exit from the editor.
- Press :w test. txt to save the file as test. txt.