login oracle linux
and used 

sqlplus / sysdba
and run

spool "/home/home/file.csv";
and run 

SELECT  * from dual;