Delete files FAST in Linux

1 of my magento sites built up too many files in var/sessions and deleting through rm will cause it to show the following error:-

Argument list too long.

And stumble upon this post that can delete files fast and it works!

find . -type f -delete

Related posts

Contabo VPS M Singapore Server Benchmark

Magento – Get the list of products which customer wanted to be notify when it is back in stock

Common Code Error When Upgrading to PHP 8.1