Reputation: 6752
Quick question: If I do the following, will it create the file, or do I have to do that separately?
echo "output" > file.txt
Upvotes: 0
Views: 1259
Reputation: 30813
It will create it unless you have no right to create a file in the current directory.
Upvotes: 2