linux rm all code example
Example 1: clear all laravel cache
/**[SAFE] Clears all cache with 1 line!**/
php artisan route:clear &&
php artisan view:clear &&
php artisan config:clear &&
php artisan cache:clear &&
php artisan clear-compiled
Example 2: remove all files inside directory linux
# remove everything in a directory
rm /path/to/dir/*
# remove all sub-directories and files
rm -r /path/to/dir/*