rm –recursive

The rm command does not set the directory for deletion unless the option is set.

If you also want to delete directories, specify the -r option.

[vagrant@localhost laravel]$ ls
blog  composer.phar
[vagrant@localhost laravel]$ rm -r blog
[vagrant@localhost laravel]$ ls
composer.phar