The Linux Filesystem Hierarchy: /etc, /var, /opt, /srv, /home, /proc and "Everything Is a File"
On Linux, programs live in /usr or /opt, configuration in /etc and changing data in /var; for Bookstore that means /opt/bookstore/releases, /etc/bookstore, /var/log/bookstore and /var/lib/bookstore. With real output we cover find, cp -a and rm -r, hard links vs symlinks, how ln -sf silently creates the link in the wrong place when switching the current symlink, inspecting a running .NET process through /proc/<pid>, and why appsettings.production.json is ignored on Linux.
14 Nov 2026
·
13 min
·
4