ubuntu find graphics card code example Example: ubuntu check graphics card info lspci | grep VGA sudo lshw -C video sudo lshw -C video | grep product: