Quote:
Originally Posted by musisi
After creating a file using a vi command and pasted into that file what should i do to go back to home but still under that file name
|
Not sure what you mean by going home and being under the filename.
But if you created the file while in the home directory, the file will be saved in the home directory or whichever the current directory you initiated the vi command. .
You can also supply a path to where to save the file. For example
Code:
vi /path to save the file/filename
Or you can specific the path within vi by hitting the ESC key and then typing
Code:
:wq /path to save the file/filename
You can return back home by typing either commands below