title: why wildcard doesn't work in `sudo rm` statement?
body: <p>I was trying to delete all files in log directory and using default bash shell on CentOS 6.5</p>
  
  <pre><code>[lei@ids7gueywjZ /]$ sudo ls -al /var/log/jenkins/
  total 1541512
  drwxr-x---   2 jenkins jenkins       4096 Jul 22 09:52 .
  drwxr-xr-x. 10 root    root          4096 Jul 14 21:27 ..
  -rw-r--r--   1 jenkins jenkins      31483 Jul 22 17:07 jenkins.log
  -rw-r--r--   1 jenkins jenkins 1073606656 Jul 18 03:16 jenkins.log-20150718
  -rw-r--r--   1 jenkins jenkins  504815011 Jul 19 03:30 jenkins.log-20150719.gz
  [lei@ids7gueywjZ /]$ sudo rm -r /var/log/jenkins/*
  rm: cannot remove `/var/log/jenkins/*': No such file or directory
  </code></pre>
  
  <p>I don't understand why <code>rm -r /var/log/jenkins/*</code> doesn't work? Is there some default shell configuration I was missing?</p>