#!/bin/bash
dmidecode -t system | grep "Product Name"
dmidecode -t system | grep "Serial Number"
dmidecode  -t processor | grep @ | awk -F: '{print $2}' | while read cpu
do
    echo "        CPU:  $cpu "
done
fdisk -l | grep GB | while read disk
do
    echo "        $disk"
done
echo "        Memory:  $(free -m | sed -n '2p' | awk '{print $2}')  M"
echo "        Swap:  $(free -m | sed -n '4p' | awk '{print $2}')  M"