check if gpu is available ubuntu code example Example: which gpu do i have linux sudo lshw -C display