home directory
Your personal directory, such as /home/ada on Linux or /Users/ada on macOS, where your files and settings live.
In more detail
The HOME variable holds its path, the shell starts there after login, and a tilde at the start of a path, as in ~/projects, expands to it. On Windows it is usually C:\Users\ followed by your user name. Settings files there, such as .bashrc or ~/.ssh/config, often start with a dot.
Related terms
- tilde expansion — The shell replacing a tilde at the start of a word with your home directory path before a command runs.
- cd — The builtin that changes the shell's current working directory.
- dotfile — A file whose name starts with a dot, such as .bashrc, which ls and globs hide unless asked.
- .bashrc — A file in your home directory that every new interactive bash reads at startup, used for aliases, functions and prompt settings.
- user account — The record that lets a person or service use a Linux system, tying a login name to a UID, a primary group, a home directory and a login shell.
- Filesystem Hierarchy Standard — The convention that says what each top-level Linux directory, such as /etc, /var and /home, is for.
- /etc/passwd — The world-readable file that lists local accounts, one per line: name, UID, GID, description, home directory and login shell, separated by colons.
- path — The location of a file or folder written as the folders leading to it, such as /home/ana/notes.txt or C:\Users\ana\notes.txt.
- shell profile — A startup file the shell runs when it opens, used to set PATH and other settings for every session.
Taught in
- Moving Around: pwd, ls, cd And Paths — Bash Scripting & Command Line Automation
- Help, History, Completion And Aliases — Bash Scripting & Command Line Automation
- What Bash Does To A Line Before It Runs It — Bash Scripting & Command Line Automation
- Scheduling, Monitoring And A Script That Reports — Bash Scripting & Command Line Automation
- The Filesystem Hierarchy — Linux Fundamentals & Systems Administration
- Users, UIDs And The Password File — Linux Fundamentals & Systems Administration
- Installing Python On A Mac — Hands-on Python: Complete Video Course & Book
- First Run, And Fixing A Broken Install — Hands-on Python: Complete Video Course & Book
- Your Python Folder And A First Program — Hands-on Python: Complete Video Course & Book
- Windows And Mac Specifics — Hands-on Python: Complete Video Course & Book
- Logins, su, sudo And SSH Between Hosts — Red Hat Certified System Administrator (EX200) Exam Prep
- Diagnosing Permission Problems — Red Hat Certified System Administrator (EX200) Exam Prep
- Swap And New Volumes Without Losing Data — Red Hat Certified System Administrator (EX200) Exam Prep
- NFS Client Mounts That Survive The Boot — Red Hat Certified System Administrator (EX200) Exam Prep
- autofs: Mount On Demand — Red Hat Certified System Administrator (EX200) Exam Prep
- SELinux Contexts: Labels, restorecon And Rules That Last — Red Hat Certified System Administrator (EX200) Exam Prep
- SELinux Ports And Booleans: The Other Two Refusals — Red Hat Certified System Administrator (EX200) Exam Prep
- Mock Exam, Part 2: Real Machines And The Ten Costly Mistakes — Red Hat Certified System Administrator (EX200) Exam Prep
- Static Inventories: Hosts, Groups And Groups Of Groups — RHCE in Ansible (EX294): Automate Red Hat Systems
- ansible.cfg: Which File Wins, And The Settings That Matter — RHCE in Ansible (EX294): Automate Red Hat Systems
- SSH Keys And An Account For Ansible — RHCE in Ansible (EX294): Automate Red Hat Systems
- ansible-navigator: The Settings File The Exam Reads — RHCE in Ansible (EX294): Automate Red Hat Systems
- Users And Groups From A List, With Passwords That Settle — RHCE in Ansible (EX294): Automate Red Hat Systems
- Mock Exam, Part 2: Real Machines And The Patterns That Fail — RHCE in Ansible (EX294): Automate Red Hat Systems