this post was submitted on 03 May 2024
379 points (93.0% liked)
linuxmemes
21625 readers
79 users here now
Hint: :q!
Sister communities:
Community rules (click to expand)
1. Follow the site-wide rules
- Instance-wide TOS: https://legal.lemmy.world/tos/
- Lemmy code of conduct: https://join-lemmy.org/docs/code_of_conduct.html
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 2 years ago
MODERATORS
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
BSD is also unix-like. Quoting OpenBSD, "[OpenBSD] produces a FREE , multi-platform 4.4BSD-based UNIX-like operating system."
The OG Berkeley Software Distribution (BSD) is a direct descendant of Unix. I personally wouldn't qualify this particular version as a "Unix-like".
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.
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.
Nice to know, I've always thought BSD is actually UNIX.
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.
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. ๐ตโ๐ซ
The weird thing about macOS is, that while it is certified UNIX, its XNU kernel literally stands for "X is Not Unix"
everything is a file, except when it's not.
Everything is represented by a file, doesn't mean you can open it with a text editor.
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.