Using SqlPlus for Oracle, how do I save the output of a query in a file but not show it on the terminal/prompt.
Try This:
sqlplus -s ${ORA_CONN_STR} </dev/null