question about suppressing perl script output
Trying to suppress some of the stty output that goes to the display when doing EBS cloning.
* without it
->echo ${appspwd} | perl $ORACLE_HOME/appsutil/clone/bin/adcfgclone.pl dbconfig $ORACLE_HOME/appsutil/$TARGET_PDB'_'`hostname -s`.xml >$LOG_FILE_HOME/adcfgclone.log
stty: standard input: Inappropriate ioctl for device
stty: standard input: Inappropriate ioctl for device
stty: standard input: Inappropriate ioctl for device
stty: standard input: Inappropriate ioctl for device
* with stderr redirected to stdout (2>&1) it now works as expected - no stty output errors
echo ${appspwd} | perl $ORACLE_HOME/appsutil/clone/bin/adcfgclone.pl dbconfig $ORACLE_HOME/appsutil/$TARGET_PDB'_'`hostname -s`.xml >$LOG_FILE_HOME/adcfgclone.log 2>&1