title: How to convert a text file to binary file using linux commands
body: <p>I have hex code of a binary in text (string) format. How do I convert it to a binary file using linux commands like cat and echo ?</p>
  
  <p>I know command following command with create a binary test.bin. But what if this hexcode is in another .txt file ? How do I "cat" the content of text file to "echo" and generate a binary file ?</p>
  
  <p><code># echo -e "\x00\x001" &gt; test.bin</code></p>