• tal@lemmy.today
    link
    fedilink
    English
    arrow-up
    2
    ·
    20 hours ago

    I’m pretty sure that most Linux environments that I’ve been in have had dir for a long time.

    checks

    Okay, I’m on my phone right now, so Termux does, and it’s not an alias. The manpages say that it’s part of GNU coreutils, so it’s probably like that on all the distros.

    checks the git mirror

    https://github.com/coreutils/coreutils/commits/master/man/dir.x

    The dir manpage file was added to GNU coreutils in 1998. Could be that it even predated that—I didn’t go see whether the repository layout changed at that point. But it’s at least that old.

    • Wildmimic@anarchist.nexus
      link
      fedilink
      English
      arrow-up
      2
      ·
      18 hours ago

      Even that was not known to me at that point. most of my knowledge was years old at this point, and i do not want to say that what i knew at that point was even remotely actual.