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

Ruby

YI JIANG
YI JIANG
3,424 Points

can't make the cd projects/

when I type cd projects/ it says no such file or directory why?

Jennifer Nordell
seal-mask
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

That's really hard to know without seeing your current working directory or its contents. What does the ls show?

2 Answers

Aaron Kaye
Aaron Kaye
10,948 Points

The directory probably doesn't exists. You can use the command

pwd

to print the directory you are in, you can use

mkdir

to create the directory if it doesn't exist, and you can use

ls

to list the items currently in the directory

YI JIANG
YI JIANG
3,424 Points

I DID what u said,But now I couldn't find testapp,Not sure where is it

Aaron Kaye
Aaron Kaye
10,948 Points

How did you create your 'testapp'. Also, what is the output of the 'ls' command and 'pwd' command

YI JIANG
YI JIANG
3,424 Points

I find it now ,I search testapp in start