ANKUSH THAVALI10 Sep, 20230 Comments28 Secs ReadWhat is EOF in a shell script What is EOF in a shell script Basically <<EOF tells the shell that you are going to enter a multiline string until the “tag” EOF.Example :sqlplus / as sysdba <<EOFselect name, open_mode from v$database;archive log list;EOF Â Â Save EOF Output :You can save the EOF output to another filesqlplus / as sysdba << EOF > out.logselect name, open_mode from v$database;archive log list;EOFThis will create a new file out.log in current location which will contain output sql queries. Oracle DBAShare: Oracle Database AuditingWhatsapp Groups