To check what raspberry pi model you have in the command line.

  1. Open the command terminal 
  2. type in free
  3. press enter