Friday, January 23, 2015

Deleting a HUGE file


If you have a huge log file about 200GB and you need to delete it the rm command will not help as it will crash so To remove a HUGE file, enter:
> /path/to/file.log
# or use the following syntax
: > /path/to/file.log

# finally delete it 
rm /path/to/file.log

No comments:

Post a Comment