Empty a log file in Linux

I needed to empty a log file on one of my Linux boxes today as it had grown to 7.5 GB in size. This was achieved by simply running the following command in the directory where the problem file exists, and LOG_FILE was the name of the file to be emptied:

cat /dev/null > LOG_FILE