re: #OneDevMinute: Go back to the Previous Directory VIEW POST


Cool idea!

I prefer to use .. to go to the previous directory

My .bash_aliases file contains this

alias ..="cd .."

So I can simply type .. to go back.


Well, I think you didn't watch the video. .. takes you one directory up and not in the previously opened directory. cd - takes you to the previous directory what ever it was. Try it to understand it or watch the video :)

Peace! ✌️

code of conduct - report abuse