views:

20

answers:

1

Quick question: If I do the following, will it create the file, or do I have to do that separately?

 echo "output" > file.txt
+2  A: 

It will create it unless you have no right to create a file in the current directory.

jlliagre