title: How to remove file on android using ADB
body: <p>I am trying to remove a file on my android using a single ADB command.</p>
  
  <p>I understand you can just do adb shell and then remove the file using rm. </p>
  
  <p>But I need it to be a one line execution.</p>
  
  <p>I’ve tried:</p>
  
  <pre><code>adb rm-f /directory/file.txt
  
  adb shell rm-f /directory/file.txt
  </code></pre>
  
  <p>Both <strong>don’t delete</strong> the file I want.</p>