I need to know how to grab output and store it in a variable. I don't want to send all the output to the file, just one of the commands output I am sending.. Basically
AUTH AUTH LIST <---needs to go to file
AUTH
AUTH
LIST <---needs to go to file
I tried..
read $responseread $response but it isn't working
Any help appreciated.