Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
KishanB
· 9y ago · 0 comments
To clear only the contents of a file (my most used and most favourite one esp with application logs)
cat /dev/null > any_file.txt
Comments
No comments yet.
Better HN