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 trialWilliam McManus
14,819 PointsTerminal on MAc.
I'm on Mac and was trying to see where I could go using Terminal. I typed cd documents and then ls, and could see the directories in documents, but when I try to go deeper to say "Web Projects" I get an error:
Williams-MacBook-Pro:~ williammcmanus$ pwd /Users/williammcmanus Williams-MacBook-Pro:~ williammcmanus$ cd documents Williams-MacBook-Pro:documents williammcmanus$ ls Billy's Work Elation_Lounge_Logo-[Recovered].jpg Brians_Hookah_Lounge.jpg Music Documentaries Elation_Lounge_Logo [Recovered].ai Web Projects Williams-MacBook-Pro:documents williammcmanus$ cd web projects -bash: cd: web: No such file or directory Williams-MacBook-Pro:documents williammcmanus$
Wondering why I can only travel one directory down? Any thoughts?
3 Answers
jason chan
31,009 Pointsquotes for spaces terminal doesn't see space
William McManus
14,819 PointsAh. Tricky, Thanks, I may have to rethink my file naming tactics moving forward. Thanks!
frontend
15,619 PointsAre you sure there is a directory named web projects in your documents directory? Based on what I can see , there is no directory in the directories.
'Mkdir' to create web_projects inside of documents
Then 'touch' to add files to directory