What is <<!END in a Bash script?
It's a Here Document -- the lines between <<!END
and !END
are fed to the stdin of wlst.sh
It could also be expressed as:
echo "connect('user','pw');
p=redeploy('application');
p.printStatus();
exit();" | /u01/app/oracle/middleware/oracle_common/common/bin/wlst.sh
but without the potential effects of running the command in a subshell.
It could also also be expressed as:
echo "connect('user','pw');
p=redeploy('application');
p.printStatus();
exit();" > someFile
/u01/app/oracle/middleware/oracle_common/common/bin/wlst.sh < someFile
rm someFile