Instead of giving password, how can I hide the password in the shell script
#!/bin/bash
sqlplus -S -L USERNAME/PASSWORD@"SERVICE_NAME" <<EOF
set feedback off trimspool on
SELECT * FROM TABLE;
spool off;
EXIT
EOF
Instead of giving password, how can I hide the password in the shell script
#!/bin/bash
sqlplus -S -L USERNAME/PASSWORD@"SERVICE_NAME" <<EOF
set feedback off trimspool on
SELECT * FROM TABLE;
spool off;
EXIT
EOF