#!/bin/sh machine_id() { # return the machine ID awk 'BEGIN { FS=": " } /Hardware/ { gsub(" ", "_", $2); print tolower($2) } '