how to remove an empty directory linux code example
Example 1: delete non empty directory cmd
rm -rf directoryname
Example 2: remove directory linux
rm -rf /path/to/directory/*
rm -rf directoryname
rm -rf /path/to/directory/*