To begin editing a file (either one existing or one you wish to create) type,
vi [pathtofile]<filename> If the path to the file isn't included, vi assumes that the current directory will be used.