title: Getting output in flat file using oracle on UNIX
body: <p>How to get the output of a query into a flat file using Oracle on UNIX?
  For example:
  I have a TEST table; I want to get the content of the TEST table into a flat file and then store the output in some other folder in .txt format.</p>