There are different ways to empty or delete a large file content. Make sure, which file you are going to empty.
Option-1
> file_name
Option-2
cat /dev/null > file_name
Option-3
dd if=/dev/null of=file_name
Option-4
echo > file_name
Option-1
> file_name
Option-2
cat /dev/null > file_name
Option-3
dd if=/dev/null of=file_name
Option-4
echo > file_name
No comments:
Post a Comment