stty: standard input: Inappropriate ioctl for device

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

stty: standard input: Inappropriate ioctl for device

kvmishra
Dear Sir,

I'm passing the passwords in shell script by using << EOF
EOF
but its giving the warning as "stty: standard input: Inappropriate ioctl for device". is this expected?

Please see below script for reference-
#!/bin/bash
apps_pwd=apps
wl_pwd=weblogic

. /data/DEV/apps/EBSapps.env run

cd $ADMIN_SCRIPTS_HOME
perl adpreclone.pl appsTier << EOF
$apps_pwd
$wl_pwd
EOF

Thanks
Vikash
Reply | Threaded
Open this post in threaded view
|

Re: stty: standard input: Inappropriate ioctl for device

ErmanArslansOracleBlog
Administrator
Try using something like the following ->
{ echo APPSPASS ; echo WLSPASS; } | perl $ADMIN_SCRIPTS_HOME/adpreclone.pl appsTier