BASH - Files - Add up the numbers at a specific position in a file

Add up the numbers at the fifth position (field) of each line.

awk '{ sum += $5 } END { print sum }' filename