Como esvaziar o arquivo de texto no Unix

echo > test.txt
Yawning Yacare