get-mb-bios-info.sh 206 B

1234567891011
  1. #!/bin/sh
  2. ## Figure out the mainboard model and bios version
  3. for file in /sys/devices/virtual/dmi/id/*; do
  4. if [ -f "$file" ]; then
  5. echo "Filename: $file"
  6. cat "$file"
  7. echo ""
  8. fi
  9. done | less