Give a command that lists all file extensions of the files that occur in your home directory. Use that list to count how many times each extension occurs. The output should take the following format (note that extensions are in descending order of frequency):

15 txt
10 fig
5 eps
1 jpg
1 out
    

Hint: Certain portions of a line can be extracted using the cut command. More information on this command can be found on page 766 of the reference book. Two important options are -f and -d. The first option separates a line into fields, after which cut works on fields instead of characters. The default field separator is the tab character. An alternative field separator can be set using the -d option.