Bash Save Command Output To Variable Resistor