alias lsvideo='sudo $(type -P lspci) -vvvv -d "$($(type -P lspci) -nn|sed -n "/VGA/p"|$(type -P grep) -oP "(?<=\[)[[:alnum:]]{4}:[[:alnum:]]{4}(?=\])")"'
This could be more efficiently written as: lspci -vvvv | sed -n '/ VGA /,/^$/p'
This could be more efficiently written as:
ReplyDeletelspci -vvvv | sed -n '/ VGA /,/^$/p'