delete folder ubuntu cmd code example
Example 1: remove folder ubuntu
sudo rm -rf folder-name
Example 2: remove folder ubuntu
$ rm -r directoryName
Example 3: how to delete a folder in ubuntu using terminal
rm -R folder-name
sudo rm -rf folder-name
$ rm -r directoryName
rm -R folder-name