Blog de videotutoriales, videojuegos, hardware, software, informática y tecnologíaBlog de videotutoriales, videojuegos, hardware, software, informática y tecnologíaBlog de videotutoriales, videojuegos, hardware, software, informática y tecnologíaBlog de videotutoriales, videojuegos, hardware, software, informática y tecnología

✕

MENTA ZEN
  • Home
  • Tutorials
  • Important Paths, Folders and Directories in Linux: Complete Guide for Users and Administrators

Important Paths, Folders and Directories in Linux: Complete Guide for Users and Administrators

🚀 Linux has several “special” paths and folders used for configurations, application startup, temporary data storage, logs, etc. Here is an organized list of the most interesting and useful ones for intermediate/advanced users:


🔹 User Folders

  • ~/.config/ → User configurations (GNOME, KDE, apps).
  • ~/.config/autostart/ → Apps that start automatically when you log in.
  • ~/.local/share/ → User files (themes, icons, locally installed applications).
  • ~/.cache/ → Application caches.
  • ~/bin/ → Personal scripts and programs (if you add it to your $PATH, you can run them from anywhere).
  • ~/.bashrc, ~/.zshrc → Shell configuration (aliases, variables, functions).
  • ~/.profile or ~/.bash_profile → Environment variables loaded at login.

🔹 System Folders

  • /etc/ → Global system configuration (.conf files).
    • /etc/passwd → User list.
    • /etc/shadow → Encrypted user passwords.
    • /etc/fstab → Definition of disks and partitions mounted at boot.
    • /etc/hostname → Host (machine) name.
    • /etc/hosts → Local name resolution.
    • /etc/systemd/system/ → Custom systemd units (services).
    • /etc/crontab → Scheduled tasks.

🔹 Logging and Monitoring Folders

  • /var/log/ → System and application logs.
    • /var/log/syslog → General system log.
    • /var/log/auth.log → Authentication and access attempts (failed/successful).
    • /var/log/dmesg → Kernel messages.

🔹 Binary and Library Folders

  • /bin/ → Essential system binaries (ls, cp, mv…).
  • /usr/bin/ → User binaries (most installed programs).
  • /sbin/ and /usr/sbin/ → System administration binaries (ifconfig, fdisk…).
  • /lib/ and /usr/lib/ → System libraries.

🔹 Device and Process Folders

  • /dev/ → Devices (disks /dev/sda, USB /dev/sdb, tty, etc.).
  • /proc/ → Kernel and process information (pseudo-filesystem).
    • /proc/cpuinfo → Processor info.
    • /proc/meminfo → Memory info.
  • /sys/ → Kernel and hardware interface.

🔹 Service and Administration Folders

  • /var/www/ → Web root for Apache/Nginx servers.
  • /var/spool/cron/ → User cron jobs.
  • /run/ → Running process information (PID files, sockets).
  • /tmp/ → Temporary files (cleared on reboot).

👉 As you can see, Linux has a well-defined hierarchical ecosystem.

Related topics

Module 6.4 Elementor: Designing professional headers and footers


See more

Module 6.3 Elementor: Essential widgets and mastering the structure


See more

Module 6.2 Elementor: Getting started with the Elementor editor


See more

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Made with 💔 in Europe
Free Palestine
LGBTQ+ friendly
Technology, code, retro vibes, and free thinking until the adventure ends.
Exploring bits and pixels since 2012.
EnglishEnglish▼
  • EspañolEspañol
  • FrançaisFrançais
  • PortuguêsPortuguês

Web development:
Freelance Web Developer

    • Mentazen.com - News, videogames, tutorials, web and retro!