how to remove directory in Linux?

Delete a directory linux

So you want to delete Remove a Directory in Linux but while attempting to remove a directory using a command such as the rmdir, you may receive a prompt such as “rmdir: ‘dir’: Directory not empty” and be unable to delete the directory. To remove a directory that contains other files or directories, use the following command. … Read more