So, I was trying to catch the error messages from running some basic Linux command, using Perl. For example, I try to catch the STDERR when running the ldd command: But, even if the output of the ldd command does contain error messages such as ldd: warning: you do not have execution permission for, it won’t print them in to
Tag: stderr
How to get logs of individual argument passed to shell script from a file
I have a shell script. In this script I am reading table names for a file and executing a command. The script is working fine. I am able execute the command for all the tables in the file. shell script In this script I want to collect status logs and stdout logs. I want to collect the logs for each