
You can empty a file by executing below command. This command can be useful if the file is containing a large size but due some issue, you cannot remove the file.
# cat /dev/null > <FILE-NAME>

You can empty a file by executing below command. This command can be useful if the file is containing a large size but due some issue, you cannot remove the file.
# cat /dev/null > <FILE-NAME>