how to delete directory in linux command code example Example: linux remove folder and all his content rm -rf /path/to/directory/{*,.*}