Oracle – Quick Tip – Run OS Commands Within SQL*Plus


Oracle – Quick Tip – Run OS Commands Within SQL*Plus

SQL> HO[ST] [command]

# https://docs.oracle.com/cd/B19306_01/server.102/b14357/ch12026.htm
# https://sqljana.wordpress.com/2017/01/14/oracle-quick-tip-run-os-commands-within-sqlplus/
# following works in both Windows and Linux
SQL> host 
SQL> ho 
# following only works in Linux
SQL> !
# following only works in Windows
SQL> $