1. Dell Systems:
sudo dmidecode -s system-serial-number
2. HP Systems:
sudo dmidecode -t system | grep Serial
3. Lenovo Systems:
sudo get_system_info | grep "Serial number"
Remember to run these commands with superuser privileges (using sudo) because they often require elevated permissions to access hardware information.