Hacker News new | ask | show | jobs
Empty a file with a "touch" like alias ( on *nix systems) (coderwall.com)
1 points by rover 5084 days ago
1 comments

Do you know there is better way than what has been described in the article !!

Its dead simple , on a shell prompt just execute :>filename

didn't know that. Thanks.