Open a file VIM Command

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

Explanation


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

Usage:

$vim filename

Example:

  • 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