linux rmdirectory 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/*/
rm -r filename
rm -rf filename
this command remove the directory and subdirectory forecefully
rm -rf /config/filegroups/*/