1. su - oracle
2. sqlplus <username>/<password>
3. spool <file path>/<file name>
4. 执行命令 例如select * from tab;
5. spool off
##spool 个人理解为抓屏
2. sqlplus <username>/<password>
3. spool <file path>/<file name>
4. 执行命令 例如select * from tab;
5. spool off
##spool 个人理解为抓屏
转载于:https://blog.51cto.com/lengxuezhixuan/1322275