Google Interview Question

How do you check the list of hardware in Linux?