Lemmy
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
hesburger@sopuli.xyzM to Cool Guides@sopuli.xyz · 1 year ago

Linux Path Cheatsheet

sopuli.xyz

message-square
11
fedilink
32

Linux Path Cheatsheet

sopuli.xyz

hesburger@sopuli.xyzM to Cool Guides@sopuli.xyz · 1 year ago
message-square
11
fedilink
alert-triangle
You must log in or register to comment.
  • TunaCowboy@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    1 year ago

    /sbn

  • boredsquirrel@slrpnk.net
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

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

  • sandalbucket@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

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

    • dhtseany@lemmy.ml
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      And /usr/local/sbin of course

  • Blaster M@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

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

    • mlfh@lemmy.ml
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      I put mine in /sbn

    • pivot_root@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

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

  • Aquila@sh.itjust.works
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

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

    • UID_Zero@infosec.pub
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      /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
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

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

  • rdri@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    Why etc and not cfg?

Cool Guides@sopuli.xyz

coolguides@sopuli.xyz

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: [email protected]
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 1 user / day
  • 1 user / week
  • 1 user / month
  • 1 user / 6 months
  • 1 local subscriber
  • 244 subscribers
  • 12 Posts
  • 61 Comments
  • Modlog
  • mods:
  • hesburger@sopuli.xyz
  • BE: 0.19.9
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org