For a Debian-based distribution:
cat /proc/cpuinfo
The lscpu command gives another view.
Tweets de @PascalBod06