how to delet a dir in bash code example
Example 1: bash remove directory
rm -rf directory-name
Example 2: linux remove folder and all his content
rm -rf /path/to/directory/{*,.*}
Example 3: linux remove folder and all his content
rm -f /path/to/directory/{*,.*}