[19:42] matteo@andromeda:~$ sudo dmidecode -s system-product-name
MacBook6,1


[19:42] matteo@andromeda:~$ uname -a
Linux andromeda 2.6.35-23-generic #37-Ubuntu SMP Fri Nov 5 19:16:29 UTC 2010...