I don't think that you can get the motherboard type through a command, although I could be wrong. What you can get through the shell is what type of chipsets you have by issuing the command "lspci" it should show the type of controlers, which most of the times is more important to know than motherboard type.
I hope this helps,
pitupepito