My go-to commands and tips

My go-to commands and tips

My go-to commands and tips

https://www.howtogeek.com/mastering-the-linux-file-system-go-to-commands-and-tips/

Publish Date: 2026-03-18 10:05:00

Source Domain: www.howtogeek.com

When I started using Linux, the file system was nothing like the folder structures I’d been used to on Windows. I’ll admit that it took me a while to feel comfortable. However, with time, I realized that the more you understand the file system, the more control you have over your computer.

Basic structure of the Linux file system

It’s simpler than you’d expect

At its core, the Linux directory structure is straightforward once you understand the layout. Everything starts at the root directory, symbolized by /, and branches out from there.

Here’s a quick breakdown of the most important directories:

  • /home: Where your files live. Think of it like your “Users” directory on Windows.
  • /etc: System-wide configuration files live here, including everything from network settings to user account info.
  • /usr: This holds user-installed software and system utilities.
  • /var: Log files, databases, and other changing data go here.
  • /tmp: Temporary files, cleared on reboot.

Source