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 trialLenora Tracey Amadi
2,041 PointsTerminal question
Fill in the blank to complete the command to change to the usr directory within the root directory.
treehouse:~/workspace$ ls / dev etc home opt usr treehouse:~/workspace$ cd
Cant find answer
7 Answers
Steven Parker
231,269 PointsThe key here is "within the root directory", which tells you that you need an absolute path.
An absolute path always starts with a slash ("/"), followed by the directory name(s).
Leslio McKeown
Python Development Techdegree Student 9,439 Pointsthe answer is " cd / "
Steven Parker
231,269 PointsNot quite, that would change to the root directory itself.
Shanna vick-Morris
6,683 PointsWould it be " /dev/etc/home/opt/usr"
Shanna vick-Morris
6,683 PointsI figured it out its '/usr'
Muhammad Anwar Ul Haq
Full Stack JavaScript Techdegree Graduate 18,781 Pointscd / is the correct Answer
Steven Parker
231,269 PointsThat's not the correct answer for this question. See the comments above.
David Patrick
6,067 PointsFill in the blank to complete the command to change to the usr directory within the root directory.
treehouse:~/workspace$ ls / dev etc home opt usr treehouse:~/workspace$ cd
Answer: /usr
Mamadou Diallo
3,732 Points/usr