Hello,
How can I connect to rman catalog while hiding password using .sh script in linux?
This is how part of my script where I'm connecting looks like:
${ORACLE_HOME}/bin/$RMAN target / catalog rman/password@rmancat cmdfile "$RMAN_SCRIPT" msglog "$RMAN_LOG"
I know that I can create a separate file and just call that file from the my main script. But how can I do it?
connect target sys/syspassowrd@trgt
backup database;
rman @backup.rman
Thanks