Bash Command: Ls -Lah Not Showing /Etc Directory?

Bash Command: Ls -Lah Not Showing /Etc Directory?

Ok guys, elementary question.

I was poking around my server, and I noticed that when I 'ls' the / directory, /etc folder is not displayed. Why is that? I can very easily cd into it, but why is it not displaying when I'm getting a list of those directories?

Note: I'm using 'ls -lah' list, all, human-readable. The 'all' is showing me all directories, even hidden ones. Does the /etc folder have a different property to it that others do not?

1

1 Answer

You're probably just missing it in the list. Try just ls -lh and see what you can find. Remember, too, that they're in alphabetical order, so it should be pretty easy to find.

If you still can't find it, post a screenshot of what you do see.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

James H. Sterling
Author

James H. Sterling

James Sterling reports on renewable energy developments, climate policy, ecological conservation, and green tech innovations around the globe.