IntroToLinux

5. Home Directory Concepts


🏘️ The /home Directory Structure

![Linux File System Homes](../images/LinuxFileSystemHomes.png)

📁 Every User Gets Their Own Space

/home/
├── alice/          👤 Alice's files
├── bob/            👤 Bob's files
├── charlie/        👤 Charlie's files
└── david/          👤 David's files

What you can do in your home directory:


🏠 Your Home Directory

![Linux File System Home](../images/LinuxFileSystemHome.png)

🔑 Key Concepts

Your home directory (/home/username) is:

Feature Description Symbol
Environment Variable Referenced by $HOME $HOME
Shortcut Accessible via tilde ~
Default Location Where you start when logging in 🏠
Full Permissions Only place with full write access

💡 Quick Access Examples

# All these go to your home directory:
cd ~
cd $HOME
cd /home/username
cd              # just 'cd' alone!

# Reference files in home:
~/Documents/report.txt
$HOME/.bashrc

Next: → File System Permissions
Previous: ← Linux File System Structure
Lesson Home: ↑ Lesson 2: The Shell
Course Home: ⌂ Introduction to Linux