How to regain lost File Type Icons

Occasionally, instead of showing a small neat thumbnail for the file type in the Finder window or
Desktop, you see an ugly "blank canvas" icon instead. A simple UNIX way to regain the correct
icons can be achieved by quitting all active apps and then typing this into terminal:

sudo rm -rf /Library/Caches/com.apple.iconservices.store

You'll need to type your admin password in and when completed need to reboot the computer. Map