Warning: A non-numeric value encountered in /home/matt/domains/geekprojects.org/public_html/wp-content/themes/Divi/functions.php on line 5611

When using rm to delete a large number of files, you may come up against a kernel limitation which limits the length of arguments that can be sent to rm:

$ rm *

bash: /bin/rm: Argument list too long

This one-liner utilizes xargs to bypass this limitation:

ls | xargs rm