What Is The Go To Folder Command Within Finder?

In the Go menu of Finder, there is an option titled Go to Folder… with the keyboard shortcut ⇧ shift+⌘ cmd+G. This will prompt the user to enter a folder path and it allows Unix conventions (like using ~ to refer to one's home directory; for example ~/Documents refers to the Documents folder under your home folder). You can also type part of the file or folder name and hit Tab for autocompletion of the name.

Note that you can go to any folder using this option (including your own folders for documents, music, downloads, movies and so on), not just system files or folders.

Although OS X, starting with OS X Lion 10.7, started hiding important folders like ~/Library (the Library folder under one's home directory), the file/folder permissions system in OS X ensures that unless a user has an administrator account name and password, they cannot damage anything beyond what's within their own home folder (and the contents within it).

Even if you disable this command, a user can still view system folders like /System, /Library, etc. (although the user won't be able to modify or delete anything there without administrator access/credentials). The user can also open up Terminal.app and navigate through directories that Finder does not show and cause damage to ~/Library.


If you still wish to disable it and remove this option in Finder:

  1. Open Terminal.app (from /Applications/Utilities)

  2. Type the command:

    defaults write com.apple.finder ProhibitGoToFolder -bool true && killall -HUP Finder

    To enable it again, use the command (replacing true with false from the previous command):

    defaults write com.apple.finder ProhibitGoToFolder -bool false && killall -HUP Finder


In conclusion, I'd suggest not to worry too much about it.

Instead, the following may help better:

  • Keep the administrative account separate from normal user accounts
  • Ensure that user accounts are only shared with trusted people (or preferably, have one user account for each real user)
  • Share the administrator credentials only with trusted users

Removing the option is more like Security through obscurity, and is not really a fool proof way to protect the system.