DEV Community


Discussion on: Command Line Basics: How to find your way around your computer

joeattardi profile image
Joe Attardi

Another tip for the cd command: you can type cd - (that's cd followed by a hyphen) - to go back to the previous directory!

annajmcdougall profile image
Anna J McDougall Author

Love this one and it's one I sometimes forget as well! Thanks for adding it Joe 😊