Folder displaying in terminal but not finder

Solution 1:

The default location for WebServer documents is /Library/WebServer/Documents, which is inside the Library folder in the hard disk's root. The WebKit folder you see is at ~/Library/, i.e. the current user's personal Library folder. That folder is hidden by default (if you go to the Home folder, ~, in Finder, by pressing Shift + Cmd + H, you'll either not see the Library folder at all, or it is slightly transparent).

In Finder, press Shift + Cmd + G and enter /Library/WebServer/Documents and you'll be where you need to be.

Solution 2:

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.

  1. Open the terminal.

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

  3. 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.