So I want to pull data from a command and spit out that individual data as a variable. When I run pwrstat -status I get this long output:
Thisnamething......................the data
Other variable.........................moredata
The command goes on for a while. How would I tell something to grab only "more data" and save it as a variable? Could it be done with bash?
If nobody caught on I'm trying to monitor PowerPanel from CyberPower with Zabbix...helpplease!