I previously had a bootcamp that I input labs in one folder but i made them all directories in my macOs terminal. I can't delete them. I tired to (rm -r) all but when I override them, they were all denied. They don't bother my ability to use terminal but its just not organized. I tried (rm -r) but denied the first directory and said command not found for the rest.
It sounds like you don't have write permissions on this directory. To get around this, try using the sudo
command, which escalates your permissions. For example:
sudo rm -rf my-folder/