I'm afraid I have some BAD NEWS for you...
Refer to How can I recover from chmod -R a-wrx / command?
Basically, those two dots at the end of your command began a Recursive CHMOD
of everything starting at one level up from wherever your current working directory (CWD) was. That's "OUCH" and is usually very bad. If your CWD was in your "~home" folder, there are symlinks in your ~home directory that are pointing to scripts and programs in system folders and these now have their permissions changed IN THE SYSTEM FOLDERS! Once CHMOD
was in the system folders, I assume it recursively changed all the permissions of everything there as well since it appears from your description you've effectively locked your operating system.
I assume you've hosed your system and a backup of your important files is in order. I am not aware of a quick and simple solution to get all your permissions back the way they were unless you've made an image backup of your system prior to issuing that disastrous command. Look at "Aaron's" answer as well at that referenced posting - he refers to a tedious method that perhaps will provide a starting point - if you're a patient person and want to learn far more about your operating system than you bargained for. You can also refer to a similar question on ServerFault.com - read all the suggestions...
But, in general, recovery is mostly a lost cause and you may never get your system back the way it was. Save your personal data, re-install your operating system, and chalk this up to another of life's lessons learned.