I am trying to truncate a file in Red Hat 4.8.5-11. I have zsh+prezto installed on my system. I am getting error: "zsh: file exists: {file_name}"
I am running following command:
echo -n > {file_name}
Same command is running just fine in bash. What could possibly be wrong?