Simple Terminal question
how do I make a completly new file, I.E I would like to make a new text file named gjwp.txt in /home/user
I'd like to know how to do it from terminal... after I create I would be able to edit it with VI but I don't know how to create... THanks alot guys! |
Hi,
to create a file use the 'touch' command. Ex.: 'touch /home/user/gjwp.txt' if you want to skip that step do 'vi gjwp.txt' and go from there. vi will automatically create a file if you type 'vi <filename>' and enter text to the file. enjoy Michael |
10x bro
|
All times are GMT -5. The time now is 11:22 PM. |