title: Open and write data to text file using Bash?
body: <p>How can I write data to a text file automatically by shell scripting in Linux?</p>
  
  <p>I was able to open the file. However, I don't know how to write data to it.</p>