Is there any way under linux/terminal to count, how many times the char f occurs in a plain text file?
How about this:
fgrep -o f <file> | wc -l
Note: Besides much easier to remember/duplicate and customize, this is about three times (sorry, edit! botched the first test) faster than Vereb's answer.
2.1m questions
2.1m answers
60 comments
57.0k users