I am working on a script that calls several system commands to change some OS settings and run some other commands. I want to try to capture stderr for when something goes wrong. I have been able to do this, however, all I get is the output from the command. Is there a way to tell/capture...
I have a perl script that works great and prints the output to the console screen. However, if I try to redirect the output on the command line, nothing gets printed to the file. I tried modifying the script to print to a file instead of the screen but get the same results (nothing in the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.