how to check if your linux machine has a gpu code example Example: which gpu do i have linux sudo lshw -C display