Today i received an e-mail notification from cpanel that a partition in my server is almost full.
First i checked largest directories / files using this command :
du -h --max-depth=1 /some/path
Then i noticed that they were some log files which took space in my partition 🙂
[Read more…] about Empty a File Using Linux Command