4 ms·
Not anymore: $ mkdir bar $ cd bar $ for i in {1..40000};do touch $i;done # create 40k files $ rm * $ # no warning But it has nothing to do
by hk__2 13y ago
Not anymore:
$ mkdir bar
$ cd bar
$ for i in {1..40000};do touch $i;done # create 40k files
$ rm *
$ # no warning
But it has nothing to do with `rm` itself, it was due to the fact that the glob expansion was done by Bash.
- sharth 13y agoApparently a kernel fix was the cure: http://article.gmane.org/gmane.linux.kernel/571954 http://article.gmane.org/gmane.linux.kernel/571954 and the patches are at: https://lkml.org/lkml/2007/6/13/67 https://lkml.org/lkml/2007/6/13/67