$ cat /proc/device-tree/model
Raspberry Pi 4 Model B Rev 1.2
dpkg --get-selections > ~/installed-packages.txtsudo badblocks -v /dev/mmcblk0
Checking blocks 0 to 7749631
Checking for bad blocks (read-only test):
done
Pass completed, 0 bad blocks found. (0/0/0 errors)
sudo smartctl -H /dev/sda