Open a file VIM Command

How to use Open a file Command in Linux VIM editor?


This command is used to open a file which already exists.


$vim filename


  • Let us consider that we have to open the test.txt file, which exists already .
    $ vim test.txt
  • The file with the name test.txt will be opened in the vim editor.
    Open a File VIM Command

Ask Questions

Ask Question