Below script runs fine on all Servers in my infrastructure.
However, I recently discovered that it fails to complete execution and simply hangs on Aix servers with
exec >$LOG 2>&1
Below is how i have run this script
user1@myhost# . /app/myscript.sh
I want this script to run on on different types on OS like AiX, Solaris and Linux.
Note: This script is placed and executed from a remote server that we use for automation. The script hangs when executed remotely using ssh as well as when executed locally as shown above.
Can you propose a generic solution please?