home.social

#unix — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #unix, aggregated by home.social.

  1. You can say whatever but writting a shell script that works on 8 shells and with busybox, toybox and gnucoreutils makes me happy.
    #Unix #BSD #linux

  2. #TIL how the secondary selection used to be used on #Unix desktops.

    cs.man.ac.uk/~lindsec/secondar

    TL;DR: apparently you could select and copy something immediately into your current cursor position without having to move it.

  3. In other paper news, our article on #uutils, with project maintainer @sylvestre and @rfc1149 will appear soon on #IEEESoftware: « #Rust #Coreutils: Rebuilding #Unix Foundations in a Modern Language ». In it we recount the project history and compare the #GNU and Rust coreutils implementations, under various angles.

    An #openaccess preprint of the article is already available at arxiv.org/abs/2608.07135

  4. In other paper news, our article on #uutils, with project maintainer @sylvestre and @rfc1149 will appear soon on #IEEESoftware: « #Rust #Coreutils: Rebuilding #Unix Foundations in a Modern Language ». In it we recount the project history and compare the #GNU and Rust coreutils implementations, under various angles.

    An #openaccess preprint of the article is already available at arxiv.org/abs/2608.07135

  5. In other paper news, our article on #uutils, with project maintainer @sylvestre and @rfc1149 will appear soon on #IEEESoftware: « #Rust #Coreutils: Rebuilding #Unix Foundations in a Modern Language ». In it we recount the project history and compare the #GNU and Rust coreutils implementations, under various angles.

    An #openaccess preprint of the article is already available at arxiv.org/abs/2608.07135

  6. In other paper news, our article on #uutils, with project maintainer @sylvestre and @rfc1149 will appear soon on #IEEESoftware: « #Rust #Coreutils: Rebuilding #Unix Foundations in a Modern Language ». In it we recount the project history and compare the #GNU and Rust coreutils implementations, under various angles.

    An #openaccess preprint of the article is already available at arxiv.org/abs/2608.07135

  7. In other paper news, our article on #uutils, with project maintainer @sylvestre and @rfc1149 will appear soon on #IEEESoftware: « #Rust #Coreutils: Rebuilding #Unix Foundations in a Modern Language ». In it we recount the project history and compare the #GNU and Rust coreutils implementations, under various angles.

    An #openaccess preprint of the article is already available at arxiv.org/abs/2608.07135

  8. Advanced Programming in the #UNIX Environment

    The objective of this class is to learn and understand the interfaces, libraries and concepts we cover as well as to actually write code. This requires struggling with code, to work your way through your problems rather than copy together AI generated snippets and pasting errors into a prompt.

    Below are my updated slides on the use of AI in this class, and this is our policy:

    stevens.netmeister.org/631/use

  9. kids these days don't know the joy of #UUCP bang path routing of every email. Half the awe of every email was to see the journey taken.

    #UNIX #VMS

  10. ⚪️ Running Arch Linux on Low-Memory Computers: A Lightweight Setup Guide

    🗨️ In this article, we will modify the Arch Linux 2024.06 distribution so that it can be used on computers with limited RAM. Along the way, we will explore the structure of the ISO 9660 filesystem and learn how to use standard tools to solve semi-hacking tasks.

    🔗 hackmag.com/unix/arch-lowram?u

    #unix

  11. OTD 1941: The birth of Dennis Ritchie, co-creator of #UNIX.

    I had the great honor and privilege of working directly with Dennis during my summer at Bell Labs.

  12. I now believe Jim Blinn when he was telling me about his impression of UNIX V6 while at NYIT: “I was somewhat unimpressed with Unix at the time because it was so flakey”. But, I'm working with a version from about a year earlier.

    After I moved /usr/source to another disk and setup a mount, I've been encountering so many "fun" issues due to a buggy RK05 driver and tools that don't fully support mounts. For example, when you're at the top-level of a mount, `chdir ..` doesn't move you up, so you can't escape a mount unless you use a rooted path. I believe this is the cause of a stack exhaustion in `ls`, when it's looking for a file on another mount.

    I'm surprised no one crashed the system yesterday, since that was just after I setup the mount.

    -----

    % ls /usr/bin/nroff
    Red stack trap, PC: 000774 (ASH @-(SP),R1)
    sim>

    -----

    k
    unix
    mem = 64523
    ka6 = 1237
    aps = 141616

    -----

    % as nroff[1-5].s roff7.s nroff8.s
    No space on dev 0
    No space on dev 0
    No space on dev 0
    [...]

    -----

    % chdir /usr/bin
    busy iusr/source/s7/nroff1.s
    busy i
    busy i
    busy i

    -----

    % ed ls.c
    busy i

    7031

    -----

    !cc ls.c
    busy i

    busy i

    busy i

    -----

    % cc ls.c
    busy i

    % cc ls.c

    -----

    #unix #retrocomputing #vintagecomputing

  13. FreeBSD 14.5-RELEASE is out — the sixth and likely final release on the stable/14 branch.

    Key updates:
    - Dozens of security fixes (RCE, DoS, use-after-free)
    - Linux-compatible inotify system calls added
    - LLVM 21.1.8, OpenSSL 3.0.21, ncurses 6.6, XZ 5.8.3
    - UEFI loader fix for amd64
    - ACPI improvements for Apple dual-GPU Macs

    Upgrade via freebsd-update(8) or from source using /usr/src/UPDATING.

    opensourcefeed.org/freebsd-14-

    #FreeBSD #BSD #Unix #SysAdmin #FOSS

  14. #OnThisDay Birth Anniversary of Leo Tolstoy (1828) - Russian #Writer who is regarded as one of the greatest #Authors of all time.

    Birth Anniversary of Dennis Ritchie (1941). He created the C #Programming language and #Unix operating system.

    US Congress officially renamed the country as the United States of America (1776).

    First case of computer bug reported by Grace Hopper (1947).

    knowledgezone.co.in/news

  15. Birth Anniversary of Leo Tolstoy (1828) - Russian who is regarded as one of the greatest of all time.

    Birth Anniversary of Dennis Ritchie (1941). He created the C language and operating system.

    US Congress officially renamed the country as the United States of America (1776).

    First case of computer bug reported by Grace Hopper (1947).

    knowledgezone.co.in/news

  16. A newish bugfix release for Cozenage Scheme interpreter. The next release, in a week or so, will have support for importing user-written and third-party Scheme library loading. Probably worth waiting for that, but in the meantime...

    Also, Cozenage is now available from the Guru repository, if you use Gentoo Linux. Just:

    # emerge -av dev-scheme/cozenage

    github.com/DarrenKirby/cozenag

    #scheme #lisp #unix

  17. A newish bugfix release for Cozenage Scheme interpreter. The next release, in a week or so, will have support for importing user-written and third-party Scheme library loading. Probably worth waiting for that, but in the meantime...

    Also, Cozenage is now available from the Guru repository, if you use Gentoo Linux. Just:

    # emerge -av dev-scheme/cozenage

    github.com/DarrenKirby/cozenag

    #scheme #lisp #unix

  18. A newish bugfix release for Cozenage Scheme interpreter. The next release, in a week or so, will have support for importing user-written and third-party Scheme library loading. Probably worth waiting for that, but in the meantime...

    Also, Cozenage is now available from the Guru repository, if you use Gentoo Linux. Just:

    # emerge -av dev-scheme/cozenage

    github.com/DarrenKirby/cozenag

    #scheme #lisp #unix

  19. A newish bugfix release for Cozenage Scheme interpreter. The next release, in a week or so, will have support for importing user-written and third-party Scheme library loading. Probably worth waiting for that, but in the meantime...

    Also, Cozenage is now available from the Guru repository, if you use Gentoo Linux. Just:

    # emerge -av dev-scheme/cozenage

    github.com/DarrenKirby/cozenag

    #scheme #lisp #unix

  20. A newish bugfix release for Cozenage Scheme interpreter. The next release, in a week or so, will have support for importing user-written and third-party Scheme library loading. Probably worth waiting for that, but in the meantime...

    Also, Cozenage is now available from the Guru repository, if you use Gentoo Linux. Just:

    # emerge -av dev-scheme/cozenage

    github.com/DarrenKirby/cozenag

    #scheme #lisp #unix

  21. Advanced Programming in the Environment

    Week 01, Segment 01: Introduction

    In this video lecture, we provide an introduction, discuss the purpose of the class, the syllabus, student expectations, as well as available resources.

    Note: The videos in this series were mostly created in 2020. A few things have changed since then. Specifically, consult the course website for updates regarding the assignments.

    youtu.be/BsB9Cg6yJc4

  22. Advanced Programming in the #UNIX Environment

    Week 01, Segment 01: Introduction

    In this video lecture, we provide an introduction, discuss the purpose of the class, the syllabus, student expectations, as well as available resources.

    Note: The videos in this series were mostly created in 2020. A few things have changed since then. Specifically, consult the course website for updates regarding the assignments.

    youtu.be/BsB9Cg6yJc4

  23. #TIL that case statements in #unix #shell stop evaluating once they find the first match. Some shells (bash & mksh) have syntax to keep evaluating each additional statement, but they aren't all the same syntax (although mksh does seem to accept bash's ;;&.

    25 years of shell #scripting, guys. 🤣 🤦‍♂️

  24. #TIL that case statements in #unix #shell stop evaluating once they find the first match. Some shells (bash & mksh) have syntax to keep evaluating each additional statement, but they aren't all the same syntax (although mksh does seem to accept bash's ;;&.

    25 years of shell #scripting, guys. 🤣 🤦‍♂️

  25. #TIL that case statements in #unix #shell stop evaluating once they find the first match. Some shells (bash & mksh) have syntax to keep evaluating each additional statement, but they aren't all the same syntax (although mksh does seem to accept bash's ;;&.

    25 years of shell #scripting, guys. 🤣 🤦‍♂️

  26. #TIL that case statements in #unix #shell stop evaluating once they find the first match. Some shells (bash & mksh) have syntax to keep evaluating each additional statement, but they aren't all the same syntax (although mksh does seem to accept bash's ;;&.

    25 years of shell #scripting, guys. 🤣 🤦‍♂️

  27. #TIL that case statements in #unix #shell stop evaluating once they find the first match. Some shells (bash & mksh) have syntax to keep evaluating each additional statement, but they aren't all the same syntax (although mksh does seem to accept bash's ;;&.

    25 years of shell #scripting, guys. 🤣 🤦‍♂️

  28. @ska

    Or 2015, or 2025. You haven't actually looked at the history; despite my giving the years explicitly. So it's not saying that at all.

    Laurent, you're arguing based upon not actually knowing the history, and if anyone is thinking that the #Unix landscape is the same as it was in the past, it is surely you for arguing that the proper thing is for things to remain as they were in 1974.

    I however know that the #Unix landscape changes, in this very way.

    @cazabon @bytebro #getopt #dd

  29. @JdeBP @bytebro

    I don't know why I need to be dragged out of the 1970s... [1]

    But I think I'm in agreement with @ska in that modifying dd's interface - which is at least 53 years old at this point - is the wrong approach. A new program, even if it takes exactly the same functional arguments and options, but formatted with the modern (?) style, seems more apropos to me.

    You could even call it `ndd` for "new dd" or something, if you want to preserve a link to the old name. A new program would also allow you to drop the old interface entirely, likely simplifying the code.

    But the most important factor in deciding which way this work should be done would be, of course, "Who's doing the work?", and since that's not me, my opinion counts for little.

    [1] Am I particularly crotchety? I was *born* in the '70s...

    #legacy #interface #Unix #dd #CommandLine #CLI

  30. ⚪️ Linux Kernel Fuzzing: Setting Up Syzkaller to Find Security Bugs

    🗨️ In this article, we’ll get some hands-on practice fuzzing the kernel. But first, we’ll briefly cover the history and theory of fuzzing and discuss how our target works. We’ll then configure and build the Linux kernel, set up Syzkaller, and start hunting for bugs.

    🔗 hackmag.com/unix/syzkaller-set

    #unix

  31. True digital literacy isn't generated; it's understood. 💡

    On this Literacy Day, step away from the opaque shortcuts of AI, dive into the clean NetBSD source code, and empower human curiosity from the bare metal up. Read the source, master the system, and keep human craftsmanship alive. 📖⚙️

    RTFM (Read the Fantastic Manual)

    #NetBSD #LiteracyDay #DigitalLiteracy #ReadTheSource #CodeLiteracy #HumanIntelligence #runBSD #Linux #Unix #RTFM #internationalliteracyday #noai #antiai #nollm #antillm