this post was submitted on 03 May 2024
379 points (93.0% liked)

linuxmemes

21378 readers
1541 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack members of the community for any reason.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn. Even if you watch it on a Linux machine.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, and wants to interject for a moment. You can stop now.
  •  

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't fork-bomb your computer.

    founded 1 year ago
    MODERATORS
     

    Alt text: meme with the 'Always has been' format Linux, MacOS, OpenBSD and ChromeOS logos on top of the Earth The first astronaut says 'Wait, it's all Unix?' A Windows logo, on top of the second astronaut. The second astronaut says 'Always has been' and points a gun to the first astronaut.

    you are viewing a single comment's thread
    view the rest of the comments
    [–] dadarobot@lemmy.sdf.org 59 points 6 months ago* (last edited 6 months ago) (3 children)

    Linux is unix-like, and not from the same family really. ChromeOS is based on linux, so similarly unix-like. Mac is Darwin, which is actually unix. Also all BSDs are unix

    [–] clubb@lemmy.world 32 points 6 months ago* (last edited 6 months ago) (2 children)

    BSD is also unix-like. Quoting OpenBSD, "[OpenBSD] produces a FREE , multi-platform 4.4BSD-based UNIX-like operating system."

    [–] Rustmilian@lemmy.world 13 points 6 months ago* (last edited 6 months ago) (1 children)

    The OG Berkeley Software Distribution (BSD) is a direct descendant of Unix. I personally wouldn't qualify this particular version as a "Unix-like".

    [–] dadarobot@lemmy.sdf.org 5 points 6 months ago* (last edited 6 months ago) (1 children)

    Yeah, reading these comments, it looks like they are not legally able to call it unix, despite having direct lineage. Linux however is a complete re-write, making it more obviously not proper unix by most definitions.

    [–] thanatotus@lemmy.ml 3 points 6 months ago

    That's because UNIX is a trademark and OS vendors will have to pay fees to opengroup.org in order to call their OS Unix.

    [–] Successful_Try543@feddit.de 12 points 6 months ago (1 children)

    Nice to know, I've always thought BSD is actually UNIX.

    The BSD variants are descendants of UNIX developed by the University of California at Berkeley, with UNIX source code from Bell Labs. However, the BSD code base has evolved since then, replacing all the AT&T code. Since the BSD variants are not certified as compliant with the Single UNIX Specification, they are referred to as "UNIX-like" rather than "UNIX".

    [–] lemmyreader@lemmy.ml 6 points 6 months ago (1 children)

    UNIX(tm) is a trademark name (Think of e.g. IBM AIX, HP-UX, SunOS). Linux and BSD are Unix alike. I believe that Apple has made an effort to be entitled to call an OS of theirs UNIX, not sure whether it's Darwin or something else.

    [–] Successful_Try543@feddit.de 9 points 6 months ago

    UNIX is trademarked by 'The Open Group', Unix is not. 🙃

    To make things more confusing, according to German Wikipedia, Unix is used for Unix-like OSes which are not officially UNIX-certified. 😵‍💫

    [–] accideath@lemmy.world 18 points 6 months ago (1 children)

    The weird thing about macOS is, that while it is certified UNIX, its XNU kernel literally stands for "X is Not Unix"

    [–] metaStatic@kbin.social 15 points 6 months ago (2 children)

    everything is a file, except when it's not.

    [–] Rustmilian@lemmy.world 10 points 6 months ago

    Everything is represented by a file, doesn't mean you can open it with a text editor.

    [–] jabjoe@feddit.uk 2 points 6 months ago* (last edited 6 months ago)

    More like file descriptor. File path is like address system, but it's not how you get all file descriptors. For example: sockets (there is bash's fake /dev/{tcp,udp}), epoll, timer, event, inotify.

    In UNIX systems event systems have a list of filedescriptors with a callback for each. You could have your event loop an epoll fd itself and nest it in another.