linux in deleted directory code example
Example 1: delete a directory bash script
rmdir dirname
Example 2: remove directory from linux
rm -r filename
rm -rf filename
this command remove the directory and subdirectory forecefully
rmdir dirname
rm -r filename
rm -rf filename
this command remove the directory and subdirectory forecefully