From your favorite shell:
dd if=/dev/zero of=file && rm -f file