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 trialMichael Coffey
11,873 PointsHow do you find the etc directory? It doesn't show up on the ls -a command
See title
2 Answers
Aleksandra Klochko
9,511 Pointsin the home directory prompt ls /etc
Steve Gallant
14,943 PointsIt is because the "etc" directory is not a sub-directory of your current directory, but rather it is located under the root location (aka "/"). That is why you must specify the slash when running the "ls -a" command for the "etc" directory while running the command from your current location. If you were to change directories up to the root, you could then leave out the slash character. hope it helps! Steve
Natraj Loganathan
11,392 PointsNatraj Loganathan
11,392 PointsDid you try "ls -a /etc"