Remove a file/directory starting with dash/hyphen
I just noticed that in the /root directory, there exists a directory with its name starting with a dash: -p in my FreeBSD box. As much as I wanted to get rid of it, I was curious to find out what’s inside that directory. That didn’t work. After a short while of trying many things, I figured out 2 ways to do it. Another way (1) is to add ‘./’ in front of it:...