Vim commandline

Posted on July 13, 2007 in Vim

Today i have my LPIC 101 exam, and while learning i tripped over this two examples:

vi +"set number" somefile.txt

vi +/sometext somefile.txt

The first one opens a file and numbers it and the second one opens a file and highlights the searchterm.