<p>I have a couple of files containing a value in each line.</p>

<p><strong>EDIT :</strong></p>

<p>I figured out the answer to this question while in the midst of writing the post and didn't realize I had posted it by mistake in its incomplete state.</p>

<p>I was trying to do:</p>

<pre><code>paste -d ',' file1 file2 file 3 file 4 &gt; file5.csv
</code></pre>

<p>and was getting a weird output. I later realized that was happening because some files had both a carriage return and a newline character at the end of the line while others had only the newline character. I got to always remember to pay attention to those things.
­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­</p>

you probably need to clarify or retag your question but as it stands the answer is below.
joining two files under Linux
```
```
cat filetwo >> fileone
```
```