remove folder with linux code example Example: linux remove folder and all his content rm -f /path/to/directory/{*,.*}