SyntaxFix
Write A Post
Hire A Developer
Questions
This will do it:
wc -c filename
If you want only the count without the filename being repeated in the output:
wc -c < filename
Edit:
Use -m to count character instead of bytes (as shown in Sébastien's answer).
-m