contacts affords easy access to information in Mac OS X's AddressBook database from a shell and allows other Unix utilities to more easily mine that data. [edit]
I've exported my contacts from outlook, but not sure if there's a similar way to do it for my LinkedIn contacts..