Folder displaying in terminal but not finder Alright, so I just started beginning web development using my mac. My localhost says "It works" and I read somewhere I need to add my code files etc in Library/WebServer/Documents.

However, inside my Library, I do not see any WebServer folder. I can only see WebKit.

But if I try to locate the folder with terminal, it exists right there inside /Library.

What mystery is this? Please help me out.
Mac OS has hidden folders within the depths of its hard drive. If you want to make these appear, you have to use the terminal.

Open the terminal.

Type the command defaults write com.apple.finder AppleShowAllFiles TRUE, then press Enter (Or Return)

Type the command killall Finder (make sure you do the capital F) and press Enter/Return.


If you ever want to turn this off, just repeat the commands above, substituting TRUE for FALSE.