We have experienced a scenario, where in the user enter a new line character in the post session shell command. So when the script executed on the failure it encountered failure. For example, /home/test.sh test.log 2>&1 < new line and Carriage Retur>. Is there is any best practice document is available to avoid this type of error. so that team can leverage it for learning.