linux VS coreutils

Compare linux vs coreutils and see what are their differences.

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
linux coreutils
980 112
170,074 4,015
- 2.4%
10.0 9.3
3 days ago 8 days ago
C C
GNU General Public License v3.0 or later GNU General Public License v3.0 only
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

linux

Posts with mentions or reviews of linux. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-17.
  • Linus Torvalds adds arbitrary tabs to kernel code
    3 projects | news.ycombinator.com | 17 Apr 2024
    These are a bit easier to see what's going on:

    https://github.com/torvalds/linux/commit/d5cf50dafc9dd5faa1e...

    https://github.com/torvalds/linux/blob/d5cf50dafc9dd5faa1e61...

    Unfortunately Github doesn't have a way to render symbols for whitespace, but you can tell by selecting the spaces that the previous version had leading tabs. Linus changed it so that the tokens `default` and the number e.g. `12` are also separated by a tab. This is tricky, because the token "default" is seven characters, it will always give this added tab a width of 1 char which makes it always layout the same as if it were a space no matter if you use tab widths of 1, 2, 4, or 8.

  • Show HN: Running TempleOS in user space without virtualization
    3 projects | news.ycombinator.com | 11 Apr 2024
  • PfSense Software Embraces Change: A Strategic Migration to the Linux Kernel
    1 project | news.ycombinator.com | 4 Apr 2024
    There was also a Gentoo effort to run atop FreeBSD[0]. The challenge of course is that afaik none of the BSD kernel ABIs are considered stable. The stable interface is the BSD libc. That said, with binfmt_misc, I don't see a reason you couldn't just run (at least some) FreeBSD binaries on Linux with a thin syscall translation layer (rather something like qemu-system) and then your layer hooked via binfmt_misc. I'm not aware of anyone who has done this for FreeBSD, but prior efforts existed as alternate binfmts for SysVr4/5 ELF binaries[2]. Either way would take some elbow grease, but you *might* even be able just reuse binfmt_elf and just have a new interpreter for FreeBSD elf.

    [0] https://wiki.gentoo.org/wiki/Gentoo_FreeBSD

    [1] https://docs.kernel.org/admin-guide/binfmt-misc.html

    [2] https://github.com/torvalds/linux/blob/master/fs/binfmt_elf....

  • Improvements to static analysis in GCC 14
    1 project | news.ycombinator.com | 3 Apr 2024
    > The original less-than check was deemed incorrect

    It was only deemed incorrect because of an information leak. Not because it's a valid use-case for user space to copy smaller portions of *hwrpb into user space. https://github.com/torvalds/linux/commit/21c5977a836e399fc71...

  • Linus Torvalds accepts a merge commit to the Linux kernel
    2 projects | news.ycombinator.com | 1 Apr 2024
  • TinyMCE (also) moving from MIT to GPL
    3 projects | news.ycombinator.com | 27 Mar 2024
    Correct. And the combined work needs to carry the MIT license text and copyright attributions for the MIT software authors. With binary distribution it must also be overt, not hidden in some source code drop, but directly accompanying the binary.

    Many people who talk about relicensing never credit the MIT developers or distribute the MIT license text. "Because it's GPL now."

    I don't think that you believe that, but many developers do.

    Some don't see the need for source code scans for Open Source compliance, because the license.txt says GPL, so it's GPL. Prime example is the Linux kernel. There is code under different licenses in there, but people don't even read https://github.com/torvalds/linux/blob/master/COPYING till the end ("In addition, other licenses may also apply.") and conclude it's simply GPL 2 and nothing else.

    Also be aware that sublicensing is not the same as relicensing.

  • Linus Torvalds is looking for a more modern GUI editor
    1 project | news.ycombinator.com | 28 Feb 2024
    > Does he have something against it?

    He notoriously hates GNU Emacs, yes.

    https://marc.info/?m=122955159617722

    https://github.com/torvalds/linux/blob/master/Documentation/...

  • The Linux Kernel Prepares for Rust 1.77 Upgrade
    9 projects | news.ycombinator.com | 18 Feb 2024
    So If we would only count code and not comments, it is only 9489 LoC Rust. Which would be about 0.03% and if we take all lines and not only LoC it would be around 0.05%

    [0] https://github.com/XAMPPRocky/tokei

    [1] https://github.com/torvalds/linux/commit/b401b621758e46812da...

  • Proposed Windows NT sync driver brings big Wine/Proton performance improvements
    2 projects | news.ycombinator.com | 25 Jan 2024
    AIUI fsync is built on futex_waitv which has been upstreamed. So this has to be more than that.

    https://github.com/torvalds/linux/commit/a0eb2da92b715d0c97b...

  • Tell HN: GitHub no longer readable without JavaScript
    2 projects | news.ycombinator.com | 24 Jan 2024
    git clone --no-checkout --depth 1 https://github.com/torvalds/linux.git $dir

coreutils

Posts with mentions or reviews of coreutils. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-13.
  • GNU Coreutils 9.5 Can Yield 10~20% Throughput Boost For cp, mv and cat Commands
    1 project | news.ycombinator.com | 28 Mar 2024
    https://github.com/coreutils/coreutils/commit/fcfba90d0d27a1...

    A summary of other changes just released in GNU coreutils 9.5 are:

    * mv accepts --exchange to swap files

  • How the GNU coreutils are tested
    1 project | news.ycombinator.com | 21 Feb 2024
    > some are simple like yes(1)

    Not that simple: https://github.com/coreutils/coreutils/blob/master/src/yes.c

  • Show HN: Usr/bin/env Docker run
    4 projects | news.ycombinator.com | 13 Jan 2024
    The -S / --split-string option[1] of /usr/bin/env is a relatively recent addition to GNU Coreutils. It's available starting from GNU Coreutils 8.30[2], released on 2018-07-01.

    Beware of portability: it relies on a non-standard behavior from some operating systems. It only works for OS's that treat all the text after the first space as argument(s) to the shebanged executable; rather than just treating the whole string as an executable path (that can happen to contain spaces).

    Fortunately this non-standard behavior is more the norm than the exception: it works at least on modern GNU/Linux, BSDs, and macOS.

    [1] https://www.gnu.org/software/coreutils/manual/html_node/env-...

    [2] https://github.com/coreutils/coreutils/blob/b09dc6306e7affaf...

  • From Nand to Tetris: Building a Modern Computer from First Principles
    6 projects | news.ycombinator.com | 22 Dec 2023
    > building a cat from scratch

    > That would be an interesting project.

    Here is the source code of the OpenBSD implementation of cat:

    > https://github.com/openbsd/src/blob/master/bin/cat/cat.c

    and here of the GNU coreutils implementation:

    > https://github.com/coreutils/coreutils/blob/master/src/cat.c

    Thus: I don't think building a cat from scratch or creating a tutorial about that topic is particularly hard (even though the HN audience would likely be interested in it). :-)

  • The Linux Scheduler: A Decade of Wasted Cores (2016) [pdf]
    3 projects | news.ycombinator.com | 13 Dec 2023
    the yes command, writing to /dev/null, is making IO calls, which interfere with predictable scheduling.

    If you look at the source code for yes, https://github.com/coreutils/coreutils/blob/master/src/yes.c

    it builds a buffer of output and then writes that in a for loop

      while (full_write (STDOUT_FILENO, buf, bufused) == bufused)
  • nohup not working?
    1 project | /r/bash | 7 Dec 2023
    Looking at the source of nohup, if the execvp() of the child happens then it _must_ have already done the signal (SIGHUP, SIG_IGN) so - WTF?
  • Is it fair to say "ls" is dead? No commits in 15 years
    1 project | news.ycombinator.com | 10 Oct 2023
    This got me wondering so I went and looked and it seems like lo and behold there was actually a commit to the GNU ls source just 2 weeks ago.

    https://github.com/coreutils/coreutils/blob/master/src/ls.c

    "maint: prefer char32_t to wchar_t"

  • The Tao of Programming
    1 project | news.ycombinator.com | 28 Sep 2023
  • Decoded: GNU Coreutils
    5 projects | news.ycombinator.com | 8 Sep 2023
    even an empty file? Yes. so now it was a file with a copyright disclaimer and nothing else. And the koan-like question comes to mind is "Can you copyright nothing?" well AT&T sure tried.

    Then somebody said our programs should be well defined and not depend on a fluke of unix, which at this point was probable a good idea. so it became "exit 0"

    Then somebody said we should write our system utilities in C instead of shell so it runs faster. openbsd still has a good example of how this would look.

    http://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/src/usr....

    At some point gnu bureaucracy got involved and said all programs must support the '-h' flag. so that got added, then they said all programs must support locale so that got added. now days gnu true is an astonishing 80 lines long.

    https://github.com/coreutils/coreutils/blob/master/src/true....

    http://trillian.mit.edu/~jc/humor/ATT_Copyright_true.html

  • Exa Is Deprecated
    9 projects | news.ycombinator.com | 7 Sep 2023
    > Yes, ls is maintained. Although, maintained is a very strong word. It exists.

    Why would it be a strong word? Here it is, in src/ls.c: https://github.com/coreutils/coreutils

    It is then packaged by tens of operating system distributions, who themselves maintain extra patchsets, some of which are then upstreamed.

    It is installed and used on millions (billions?) of devices, for 3 decades.

    It's a very reliable and trusty "sharp stick of metal" :)

What are some alternatives?

When comparing linux and coreutils you can also consider the following projects:

zen-kernel - Zen Patched Kernel Sources

util-linux

DS4Windows - Like those other ds4tools, but sexier

madaidans-insecurities

winapps - Run Windows apps such as Microsoft Office/Adobe in Linux (Ubuntu/Fedora) and GNOME/KDE as if they were a part of the native OS, including Nautilus integration.

busybox - BusyBox mirror

Open and cheap DIY IP-KVM based on Raspberry Pi - Open and inexpensive DIY IP-KVM based on Raspberry Pi

src - Read-only git conversion of OpenBSD's official CVS src repository. Pull requests not accepted - send diffs to the tech@ mailing list.

serenity - The Serenity Operating System 🐞

gnulib - upstream mirror

DsHidMini - Virtual HID Mini-user-mode-driver for Sony DualShock 3 Controllers

coreutils - Cross-platform Rust rewrite of the GNU coreutils