I'm trying to write a bash shell script that will perform the following command.
doall 2 24 "ipmitool sel list"
I want to perform that command and then have the output emailed to me from the machine. I'm new to bash scripts so I am struggling a bit!
How would I go about doing this?