title: write text from comand line into Hadoop
body: <p>Is it possible to write text from the command line into Hadoop?</p>
  
  <p>Trying to do something similar to the unix write/append to file command.</p>
  
  <pre><code>echo "hello world" &gt; hello_world.txt
  </code></pre>
  
  <p>In Hadoop land I would expect this to work, but the commands do not.</p>
  
  <pre><code>hadoop fs -appendToFile "foo bar" /dir/hadoop/hello_world.txt
  
  hadoop fs -put "hello world" /dir/hadoop/hello_world.txt
  </code></pre>