Hacker News new | ask | show | jobs
by matja 811 days ago
Probably you are using zsh and need:

    MULTIOS=1 > file
- zsh isn't POSIX compatible by default
1 comments

I see. But in this case it's best to just memorize `truncate -s0` which is shell-neutral.