I created a directory using the following command
mkdir TEST.
Now I am trying to remove it using
rm TEST and rm TEST/
but it is showing the following error:
cannot remove ‘TEST’: Is a directory and cannot remove ‘TEST/’: Is a directory
Can anyone tell me how to remove this directory using terminal?
rm -r TEST. Then take a look atman rmfor more information. – Parto Jun 29 '16 at 07:06sudo rm -r -f /path/orsudo rm -rf folderNameas here says :http://askubuntu.com/questions/201775/how-do-i-remove-a-folder and http://askubuntu.com/questions/217893/how-to-delete-a-non-empty-directory-in-terminal – kek Jun 29 '16 at 07:10