./overwriteFile >&- <&- 0>/tmp/foo # open file descriptor with index 0 for writing