Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Development Tools

Totally screwed up my terminal environment...

I messed something up in my terminal environment by moving a file into my main treehouse directory, which overwrote the other directories and removed a bunch of stuff I need to proceed. How can I re-establish the terminal? Is there a way to get it to mirror the terminal that's being used in the examples? I've tried closing it and relaunching it but it's still screwed up.

Anish Walawalkar
Anish Walawalkar
8,534 Points

could you be a little more specific. what command did you use?

1 Answer

Thanks for the reply but I managed to get through it. I had moved the directory and renamed it at the same time, I think, so I wasn't recognizing it as I move through the directories. I'm still having a hard time holding a good mental model of the directory structures when I'm navigating through the command line, so I often feel very lost!

Not sure what you're referring to when you say "I'm still having a hard time holding a good mental model of the directory structures". But if you type "ls" (Thats an L) into terminal it will give you all the files in the directory.