How to check memory type and speed? [duplicate]

You can use lshw to display memory information:

sudo lshw -c memory

It will display RAM as well as CPU caches, but you can quickly find the information you want.

One example memory module could look like this:

 *-bank:0
      description: SODIMM DDR3 Synchronous 1600 MHz (0,6 ns)
      product: ACR16D3LS1KNG/8G
      vendor: Kingston
      physical id: 0
      serial: 16392411
      slot: ChannelA-DIMM0
      size: 8GiB
      width: 64 bits
      clock: 1600MHz (0.6ns)