Finder and files

Home, Library, and file paths

Connect familiar Finder folders to their real paths and recognize which Library folder belongs to your account.

8 minute lesson

~~~

Your home folder contains Desktop, Documents, Downloads, Movies, Music, and Pictures. In a shell, its shortcut is ~.

Open Terminal and compare these paths:

printf '%s\n' "$HOME"
pwd

$HOME contains the full home path. ~ is shell syntax that expands to it in an unquoted command. A path beginning with / starts at the filesystem root; a path without / is relative to the current directory.

macOS has several Library folders

  • ~/Library contains settings, caches, containers, and data for your account.
  • /Library contains resources shared by users on the Mac.
  • /System/Library belongs to macOS and is protected.

These folders are not interchangeable. Deleting a preference under your user Library can reset one app. Changing a shared or system location can affect every account or fail because macOS protects it.

Do not use a Library folder for your own documents. Store personal files in your home, Documents, or another intentional location.

Open an exact path in Finder

Choose Go → Go to Folder or press Command-Shift-G, then enter a path such as:

~/Library/Application Support

This is safer than clicking through similarly named folders. Before moving or deleting application data, quit the app, confirm the path, and keep a recoverable copy.

Try this: open your home folder and user Library in Finder. Explain why ~/Library and /Library can contain folders with the same application name but different scopes.

Lesson completed

Take this course offline

Get every free book and course as PDF and EPUB files.

Get the download library →