title: Copy lines from one file to another in Linux excluding comments
body: <p>How do I copy lines from one file to another in Linux without opening source and destination files and I need to exclude the comments when copying the lines.</p>
  <p>I do not want to copy the comments in the first file and the files are in different locations</p>