This question already has an answer here:
I have an external program that generates directories with strings that are negative integers. I am trying to use basic shell commands including
ls with this directory, for example:
Understandably, this fails because this looks like command line options starting with -7.
-bash: cd: -7: invalid option
Similarly, these variations also fail:
cd "-78059735" cd "\-78059735" cd '-78059735' cd '\-78059735' cd \-78059735
How do I interact with this troublesome directory through the shell?