Sunday, January 15, 2012

When you use echo in unix to write to a file does it create a blank file first and then write into it?

Basically I ran a echo "some text" > somefile.txt but the program that picks up the file thought it was empty. Just wondering if when you run this it would create a blank file name first and then write to it which would possibly allow for a blank file scenario.

No comments:

Post a Comment