wounded in the line of duty
Since awk can do pattern matches without getting too ugly, here is 1 less grep to get the BIOS address
dmidecode | grep -A4 "BIOS Information" | awk '/Address:/ { print $2 }'
More information about formatting options
1 less piped command
Since awk can do pattern matches without getting too ugly, here is 1 less grep to get the BIOS address
dmidecode | grep -A4 "BIOS Information" | awk '/Address:/ { print $2 }'