#!/bin/sh temp="$(sensors | awk '/edge/ { print $2 } ')" fan="$(sensors | awk '/fan1/ { print $2 } ')" power="$(sensors | awk '/power1/ { print $2 } ')" echo -n "${temp#+} $fan RPM"