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 <OS command>
SQL> ho <OS command>
# following only works in Linux
SQL> !<OS command>
# following only works in Windows
SQL> $<OS command>