Commit 79976e

2026-08-14 23:13:02 Niklas Polke: Update Directory Structure
linux/linux directory structure.md ..
@@ 1,16 1,17 @@
# Linux Directory Structure
```bash
- /etc/otterwiki/ # system-wide configuration (e.g. passwd, fstab, ssh) - et cetera
- /opt/otterwiki/ # optional third-party software (Python-venv and otterwiki) - optional
- /srv/otterwiki/ # data served by system services (Wiki, Markdown, Git, Attachments) - service
- /var/ # variable application and system data (e.g. cache, tmp, database) - variable
- /var/log/otterwiki/ # system and application log files - log
- /run/otterwiki.sock # runtime data since boot (e.g. sockets, locks) - exist only until the next reboot - run
- /usr # system-wide applications and data
- /usr/bin # user commands and programs
- /usr/sbin # system administration commands
- /usr/local # locally installed software
- /usr/local/bin # locally installed user programs
- /usr/local/sbin # locally installed admin programs
+ /etc/ufw/ # system-wide configuration (e.g. passwd, fstab, ssh, ufw) - et cetera
+ /opt/otterwiki/ # optional third-party software (Python-venv and otterwiki) - optional
+ /srv/otterwikidata/ # data served by system services (Wiki, Markdown, Git, Attachments) - service - independent from otterwiki
+ /var/lib/otterwiki # variable application and system data (e.g. cache, tmp, database) - variable
+ /var/cache/otterwiki # state of the application that can be deleted and newly generated
+ /var/log/otterwiki/ # system and application log files - log
+ /run/otterwiki/otterwiki.sock # runtime data since boot (e.g. sockets, locks) - exist only until the next reboot - run
+ /usr # system-wide applications and data
+ /usr/bin # user commands and programs
+ /usr/sbin # system administration commands
+ /usr/local # locally installed software
+ /usr/local/bin # locally installed user programs
+ /usr/local/sbin # locally installed admin programs
```
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9