remove a directory and all filesin linux code example
Example 1: remove directory and contents
rm -R directory
Example 2: how to delete a dir in linux
#In linux Terminal:
#To make a directory:
mkdir directory_name
#To delete a directory:
rmdir directory_name