rdri ,

Why etc and not cfg?

boredsquirrel ,

Pretty outdated. /run/media is used by udisksctl to mount stuff that the user actually has access to.

sandalbucket ,

Ah yes, and usr/bin, and usr/sbin, of course

dhtseany ,

And /usr/local/sbin of course

Aquila ,

What’s diff between device files vs config files vs variable files?

UID_Zero ,
@UID_Zero@infosec.pub avatar

/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 ,

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

TunaCowboy ,
Blaster_M ,

So does my website folder go under /var/www, /srv/www, or /home/www-data/www ?

pivot_root ,

All of the above. mount --bind and never guess again!

mlfh ,

I put mine in /sbn

sandalbucket ,

Well I put mine in /opt !

TunaCowboy ,

Depends on what you specify in the config.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • test
  • coolguides@sopuli.xyz
  • worldmews
  • mews
  • All magazines