With cat command create a file which is a merge of 2 files(linux) : <p>What I'm trying to do:</p>

<pre><code>With cat command create a file named Merge which is the merge of
test.txt and Copy(in a different directory than test.txt)
</code></pre>

<p>Both <code>test.txt</code> and <code>Copy</code> contain the same content:</p>

<pre><code>reglib
test.txt
</code></pre>

<p>So what I expect is:</p>

<pre><code>reglib
test.txt
reglib
test.txt
</code></pre>

<p>What I've tried:</p>

<pre><code>cat /home/eleve/Copy | cat test.txt &gt;Merge.txt
cat /home/eleve/Copy &gt;Merge.txt | cat test.txt &gt;Merge.txt
cat /home/eleve/Copy &gt;Merge.txt | cat test.txt &gt;&gt;Merge.txt
</code></pre>

<p>And all of those command gave me the same wrong result:</p>

<pre><code>reglib
test.txt
</code></pre>

<p>Can anyone please suggest me the right command? thanks.</p>
