title: Use qdel to delete all my jobs at once, not one at a time
body: <p>This is a rather simple question but I haven't been able to find an answer.</p>
  
  <p>I have a large number of jobs running in a cluster (>20) and I'd like to delete them all and start over.</p>
  
  <p>According to <a href="https://wiki.duke.edu/display/SCSC/Using+qdel">this site</a> I should be able to just do:</p>
  
  <pre><code>qdel -u netid
  </code></pre>
  
  <p>to get rid of them all, but in my case that returns:</p>
  
  <pre><code>qdel: invalid option -- 'u'
  usage: qdel [{ -a | -c | -p | -t | -W delay | -m message}] [&lt;JOBID&gt;[&lt;JOBID&gt;]|'all'|'ALL']...
     -a -c, -m, -p, -t, and -W are mutually exclusive
  </code></pre>
  
  <p>which obviously indicates that the command does not work.</p>
  
  <p>Just to check, I did:</p>
  
  <pre><code>qstat -u &lt;username&gt;
  </code></pre>
  
  <p>and I do get a list of all my jobs, but:</p>
  
  <pre><code>qdel -u &lt;username&gt;
  </code></pre>
  
  <p>also fails.</p>