I am completely new to bash and am trying to practice with various simple tasks. If given a text file, how can I output the words in the file with their frequencies? For example