#!/bin/bash echo "SystemProfile" sudo dmidecode -q echo 'Press enter for report (html)' echo 'Press ctrl+C to exit' read -n1 sudo lshw -html > $(hostname).html xdg-open ./$(hostname).html echo html wrote to $(hostname).html echo 'Press enter upload report' echo 'Press ctrl+C to exit' read -n1 echo Server: read s echo User: read u scp ./$(hostname).html $u@$s:/home/$u/$(hostname).html echo 'Done.' read -n1 clear