I need a little help adding up some numbers.
I have a file with the following 5 lines inside it:
22
356
0
121
34
I want to cat that file and add those numbers to get a total (533). The number of lines inside the file will be different each day. Any help would be greatly appreciated.
Thanks,
Jeff