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 trialPresian Nenov
3,872 PointsAfter typing the "cd desktop/lake-tahoe" I get an error saying "The system cannot find the path specified."
I triple checked for spelling mistakes, the folder IS on my desktop and it's also named lake-tahoe, not sure why it's not letting me.
Steven Parker
231,275 PointsBeing administrator by itself wouldn't be an issue, but perhaps because of it the starting directory was not the one you were expecting.
1 Answer
Steven Parker
231,275 PointsThis command tells the system to descend two levels, first into "desktop" and then into "lake-tahoe". So it will only work if your currently selected directory is one level above "desktop".
If you're already in the "desktop", the command should be "cd lake-tahoe" insead.
Presian Nenov
3,872 PointsHello, thanks for your response. I tried typing just "cd lake-tahoe" and am still getting the same error..
Steven Parker
231,275 PointsMaybe you're starting from another location. Try pwd
to get your current directory, and ls -l
to see the contents. Show what you get back from those if you need help figuring it out.
Presian Nenov
3,872 PointsPresian Nenov
3,872 PointsTurns out it wasn't working because I was running the terminal as administrator. If I run it without, then it finds the file no problem.