refspecs.linuxfoundation.org/FHS_3.0/fhs.html © 2015 the linux foundation FILESYSTEM HIERARCHY STANDARD this standard consists of a set of requirements and guidelines for file and directory placement under unix-like operating systems. the guidelines are intended to support interoperability of applications, system administration tools, development tools, and scripts as well as greater uniformity of documentation for these systems. /bin essential command binaries /boot static files of the boot loader /dev device files /etc host-specific system configuration /lib essential shared libraries and kernel modules /media mount point for removable media /mnt mount point for mounting a filesystem temporarily /opt add-on application software packages /run data relevant to running processes /sbin essential system binaries /srv data for services provided by this system /tmp temporary files /usr secondary hierarchy /var variable data § 7.2. BACKGROUND the process of developing a standard filesystem hierarchy began in august 1993 with an effort to restructure the file and directory structure of linux. the fsstnd, a filesystem hierarchy standard specific to the linux operating system, was released on february 14, 1994. subsequent revisions were released on october 9, 1994 and march 28, 1995. NOTE: directories (e.g. /var) contain sub-hierarchies "also lass mich mal was abwickeln": /var/spool specifications.freedesktop.org/basedir-spec/latest/ © 2024 freedesktop.org XDG BASE DIRECTORY SPECIFICATION various specifications specify files and file formats. this specification defines where these files should be looked for by defining one or more base directories relative to which files should be located. $XDG_DATA_HOME data files $XDG_CONFIG_HOME configuration files $XDG_STATE_HOME state data $XDG_CACHE_HOME non-essential (cached) data $XDG_RUNTIME_DIR runtime files and other file objects* IFS=: $XDG_DATA_DIRS data IFS=: $XDG_CONFIG_DIRS configuration ? executable files cpli.dev/htc.txt @ 2025/01/24 me HOME TREE CONVENTION peculiarities which describe my home directory. these conventions are subject changes by whimsy. ~/bin SYS_BIN=/usr/bin XDG_BIN_HOME="$SYS_BIN"/_ ~/res SYS_RES=/usr/share XDG_DATA_HOME="$SYS_RES"/_ ~/var SYS_VAR=/var/lib XDG_STATE_HOME="$SYS_VAR"/_ ~/tmp SYS_TMP=/var/cache XDG_CACHE_HOME="$SYS_TMP"/_ ~/cfg SYS_CFG=/etc XDG_CONFIG_HOME="$SYS_CFG"/_ fhs^ states "there must be no subdirectories in /bin"