I have a directory which I want to delete. The directory's name is a random string of letters and numbers. I know the path to its parents directory, so how would I recursively delete the contents of this directory?
There are no other files/directories in the parent directory.
I know I have to do something like this:
$ rm -r path_to_dir
but since I dont have the dir name I am not sure if this would work.