vi filename.extension //press i to insert into file //press ESC to enter menu //Type :wq to save data