How to find serial number of Lenovo laptop from Linux

Originally published at: https://www.cyberciti.biz/faq/how-to-find-serial-number-of-lenovo-laptop-from-linux/

I need to list serial number of Lenovo laptop to check warranty. How do I find a serial number of Lenovo laptop from Linux command line without rebooting and opening BIOS option? How do I find find serial number of Lenovo ThinkPad laptop from the Linux CLI?

Not only Lenovo, HP laptop too.

@bob.marcan : yes, HP, IBM, Dell and many other vendors.

Then why Lenovo all over the article?
Rhetoric question.

I only have Lenovo laptop for testing purpose :wink: Also Lenovo is pretty popular among Linux users as compared to other vendors. YMMV.


Linux sysadmin blog - Linux/Unix Howtos and Tutorials - Linux bash shell scripting wiki