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