What Is Touch and Echo?
•
•
6 min read
So with echo >> file , you get one byte written to the file. If the file already existed, then it would have one byte added to it, because you used >> (append) instead of > (overwrite). touch creates a file if it didn't already exist, and updates the timestamps on it otherwise.