#!/bin/bash # ___ _ _ _ __ # / __|| |_ | |_ ___ | '_ \ ___ # \__ \| _|| \ / _ \| .__// -_) # |___/ \__||_||_|\___/|_| \___| clear;dpkg -s dmidecode &> /dev/null if [ $? -eq 0 ]; then sudo dmidecode -t 16 else sudo apt-get -qq update;sudo apt-get -qq install -y dmidecode fi