delete folder in ubntu code example
Example 1: how to delete a folder in ubuntu using terminal
rm -R folder-name
Example 2: linux remove folder and all his content
rm -rf /path/to/directory/{*,.*}
rm -R folder-name
rm -rf /path/to/directory/{*,.*}