title: Erlang: How to write my outputs in a text file?
body: <p>I need to write my outputs from shell into a text file to keeping some required records. Can anyone please tell me how can I do this?</p>
  
  <p>Thanks</p>