Creating .../ alias in bash

I want to create an alias as follows but is not working

alias ../='cd ../' 

An alias should be named much like a variable is.

So I can forget setting an alias like this?

No, I'm wrong. You just need to remove the / !

1 Like