delete directory and sub directory linux code example
Example 1: remove directory from linux
rm -r filename
rm -rf filename
this command remove the directory and subdirectory forecefully
Example 2: linux delete subfolders
rm -rf /config/filegroups/*/