Getting the unique serial number from a Raspberry Pi.
cat /proc/cpuinfo | grep ^Serial | cut -d":" -f2
An interesting use for this is “binding” software, encryption or other servcies to a specific Pi. Found this in a suggestion on the Stack Overflow question “Securing data on SD card Raspberry Pi”
Raspberry Pi - Serial Number: Getting the unique serial number from a Raspberry Pi. by Craig Johnston is licensed under a Creative Commons Attribution 4.0 International License.