How To Delete A Directory In Ubuntu
Posted on July 1, 2022 • 1 minutes • 53 words
In this tutorial we learn how to delete a directory in Ubuntu.
Delete Empty Directory in Ubuntu
To delete empty directory in Ubuntu you can use the following command
rmdir <directory_name>
Delete Non Empty Directory in Ubuntu
To delete non empty directory in Ubuntu you can use the following command
rm -rf <directory_name>