Go to the previous directory in Bash with cd -
:
~$ cd Code
Code$ cd til
til$ cd -
/Users/Justin/Code
Code$ cd -
/Users/Justin/Code/til
til$
Go to the previous directory in Bash with cd -
:
~$ cd Code
Code$ cd til
til$ cd -
/Users/Justin/Code
Code$ cd -
/Users/Justin/Code/til
til$