title: Removing files with rm using find and xargs
body: <p>When I do</p>
  
  <pre><code>rm file.txt
  </code></pre>
  
  <p>or</p>
  
  <pre><code>rm *.txt
  </code></pre>
  
  <p>I'm prompted for each file, since I didn't specify the <code>-f</code> option to <code>rm</code>.</p>
  
  <p>But when I do this:</p>
  
  <pre><code>find . -type f -name '*.txt' | xargs rm
  </code></pre>
  
  <p>the files are removed without the confirmation.</p>
  
  <p>What is the logics behind this? Is it possible to find the reason in some documentation? I cannot explain why this would be the case.</p>