Skip to main content
edited tags
Link
cas
  • 85.1k
  • 9
  • 139
  • 207
deleted 11 characters in body
Source Link
muru
  • 78.4k
  • 16
  • 214
  • 320

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.

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

I tried.. read $response but it isn't working

Any help appreciated

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

I tried.. read $response but it isn't working.

Source Link

Bash using netcat, send one command's output to file

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

I tried.. read $response but it isn't working

Any help appreciated