in linux you can use the evil bird emoticon (:>) to destroy files, eg `:> important_document.txt`
the bird will eat the file and leave it completely empty!
in linux you can use the evil bird emoticon (:>) to destroy files, eg `:> important_document.txt`
the bird will eat the file and leave it completely empty!
truncate or echo "" > whatever but this is a lot more terse. I like it.@draeath @cenobyte @rebane2001
With echo "" you don't make an empty file though. It's a file with one octet (newline) then.