It is possible to extract the Linux serial number without using sudo? I know it is possible to do in Windows: wmic bios get serialnumber and in macOS: system_profiler | grep “r (system)”. Both of them do not require root privileges. In Linux this can be used: sudo dmidecode -s system-serial-number, but it needs sudo. Is there another way? Answer