“Everything is a file” is what made me start understanding linux few years ago and from there it got easier to use with each new concept.

Still this was really revolutionary to me when I first heard it. Made a bunch of things just click.

  • Zagorath@aussie.zone
    link
    fedilink
    arrow-up
    8
    ·
    4 hours ago

    That might be part of it, but I was thinking it was more how things we don’t think of as files, like sockets, are accessed with a file descriptor.

    • Badabinski@kbin.earth
      link
      fedilink
      arrow-up
      1
      ·
      37 minutes ago

      Hell, Bash provides filesystem-based sockets in /dev/tcp, so a tcp connection can almost be like Unix sockets or anything else.

      I always found it weird that it was specifically provided by Bash…