truncate

August 7th, 2014 by usage | Filed under Linux/Unix

How to reduce file size by truncating it

truncate -s 0 {filename.txt}

src: http://www.cyberciti.biz/faq/truncate-large-text-file-in-unix-linux/

tag_icon

You can follow any responses to this entry through the RSS 2.0 feed. You can skip to the end and leave a response. Pinging is currently not allowed.

Leave a comment.

To leave a comment, please fill in the fields below.