cd to directory with name of `-` I'm trying to make a folder called -. I know it's a silly name, it's named so to mirror something else.

mkdir -
ls
&gt; -
cd -


This makes it go up a folder or exit the symlink context depending on where I am. I found that cd - means go to previous location, but can't escape it. cd \- does not work.

Any way around this?
You can use either relative or absolute paths to prevent the - from standing alone and confusing bash's build in command cd:

mkdir ./-
cd ./-