I would like to issue a command in a shell script.
This command will have a return code, 0 or non-0, if success or not.
If successful, he will print something.
Now I need to print the material in a shell script. How can i do this?
I know that I can redirect the file and then read the file. Is there a way to redirect it to a variable directly?
Thanks so much for your info.
source
share