this post was submitted on 01 May 2024
56 points (98.3% liked)

Cool Guides

207 readers
1 users here now

founded 6 months ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] UID_Zero@infosec.pub 6 points 6 months ago (1 children)

/dev is for device files, ie special files that let you communicate directly with a physical piece of hardware

/etc is for configuration files, ie the comments tell how to setup a device or application

/var is for variable files, ie files who's content is regularly changing, the primary example is logs, but there are a lot of other files that land in /var (some are moving to /run, though)

[โ€“] uid0gid0@lemmy.world 2 points 6 months ago

Two important things under /var are /var/spool for printing and /var/mail