Back

NBFC-Linux Config Search

Type in the search field the output of the following command to filter the configs:

#!/bin/bash

VENDOR=$(cat /sys/class/dmi/id/sys_vendor)
PRODUCT=$(cat /sys/class/dmi/id/product_name)
if grep -q -F "$VENDOR" <<< "$PRODUCT"; then
  echo "$PRODUCT"
else
  echo "$VENDOR $PRODUCT"
fi