List PCI devices

Network cards, GPUs, NVMe controllers with driver info

lspci -v | grep -A5 'VGA\|Ethernet\|NVMe'

tool
linux133 commands
tags
linuxhardware

More linux commands

  • chattr +i /etc/resolv.conf && lsattr /etc/resolv.conf

    Prevent any user (incl. root) from modifying the file

  • lsattr -R /etc/ 2>/dev/null | grep -v '^\-\-\-\-'

    List non-default extended attrs in /etc/

  • getfacl /srv/shared

    Show POSIX ACL entries including owner, group, and extra users

  • setfacl -m u:alice:rwx /srv/shared

    Grant alice full access without changing group ownership

  • find / -perm /6000 -type f -ls 2>/dev/null

    Locate setuid/setgid executables (security audit)

all 133 linux commands