You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
g14gpu/which-driver-for-gpu

3 lines
83 B
Plaintext

4 years ago
#!/bin/bash
lspci -k -s 01:00.0 | sed -n "s/\s*Kernel driver in use: \(\w*\)/\1/p"