home.social

#unix — Public Fediverse posts

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

fetched live
  1. RE: rpi0w.stefanomarinelli.it/@ste

    @stefano is een bekende naam in BSD-kringen.
    Hij plaatst regelmatig leuke dingen, zoals dit project. Hij heeft een Mastodon instance draaiend op een Raspberri onder NetBSD.

    En kijk eens naar dat stroomverbruik!
    Unix rocks.

    #BSD #unix #NetBSD #Raspberri_pi

  2. ⚪️ How to Boot a Modern Linux System with Minimal Memory Usage

    🗨️ In this article, I’ll show you how to rebuild Bodhi Linux 7.0 to reduce its RAM requirements during boot, both in live mode and during installation. This does not compromise functionality in any way.

    You’ll also find two shell scripts that you can use to do the same thing with other distribution…

    🔗 hackmag.com/unix/linux-lowram?

    #unix

  3. About two decades too late, I'm getting around to using and appreciating the Unix screen tool.

    Figured that I can use it to compile more Gentoo packages for the iMac G5 while bopping across VPNs in my day job.

    #Unix #Screen

    GNU Screen - Wikipedia

  4. It was a privilege sharing my UNIX system with Doug McIlroy!

    He setup an account for himself. Having used these tools from the start, it came naturally, but he was accustomed to later versions of ed that allow omitting the closing slashes and the later passwd format.

    Here was his session:
    github.com/thaliaarchi/unix-v4

    #unix #retrocomputing #vintagecomputing

  5. bhyve inside a jail sounds like a stunt. It isn’t.

    FreeBSD has supported it since 12.0, and it turns the hypervisor into one more manageable jail: delegated ZFS, VNET, vm-bhyve, devfs rules and all.

    Here is my complete production setup, including the security caveats

    blog.hofstede.it/bhyve-inside-

    #FreeBSD #bhyve #Jails #Virtualization #DevOps #Unix

  6. @andrew_shadura

    It's interesting that M. Xu is maintaining two parallel dashes, though. It's not even as though the Debian dash has not tracked Xu dash. There are two different, current, maintained, and significantly divergent, flavours.

    salsa.debian.org/debian/dash/-

    git.kernel.org/pub/scm/utils/d

    I actually haven't tried building the Debian dash on a BSD. I should try it. (#FreeBSD+#OpenBSD ports and pkgsrc use the Xu dash.)

    @meluzzy
    #Unix #UnixShells #Debian #AlmquistShell #dash #NetBSD

  7. A cursed way to dereference a constant address without casting it to a pointer (C didn't have casts yet):

    struct { int int; };
    #define PS 0177776

    PS->int = sps;

    tuhs.org/cgi-bin/utree.pl?file

    #unix #c #retrocomputing

  8. Just modified the UNIX V4 kernel and utilities so it supports backspace for deleting characters. Pressing backspace instead of # was the top mistake made by LRC attendees, so this would make it easier to use for modern users.

    The erase (delete last character) and kill (clear current line) characters were fixed to # and @, inherited from Multics, and not made configurable until a few months later around November 1974. Perhaps this change reflects the first time a video terminal was used for UNIX.

    I made it send BS SP BS when backspace is pressed to visually clear the character, but this unfortunately makes it clear commands' output too. For example, this lets you visually clear the shell prompt. I could fix this by implementing something like curses, but that would move the logic to user space and incur overhead for swapping the process for a context switch on every character press. This was a complaint of early vi. Maybe I could track the column of the last printed text and not let you visually backspace before that?

    #unix #retrocomputing

  9. I fixed a little bug in UNIX V4 that had been bugging me. It took a terminal session of 5596 lines, including all the code I read, to arrive at a 4-line fix. Imagine all the paper.

    github.com/thaliaarchi/unix-v4

    #unix #retrocomputing #vintagecomputing

  10. Została wydana nowa wersja Haiku R1/beta6. Haiku to otwartoźródłowy system operacyjny, skierowany do użytkowników komputerów osobistych. Haiku został zainspirowany systemem Be Operating System (BeOS). linuxiarze.pl/haiku-r1-beta6/ #unix #beos #haiku

  11. ⚪️ Network Penetration Testing with Minimal Disruption

    🗨️ MITM is one of the most impactful attacks you can carry out on a network. At the same time, it is also one of the riskiest techniques from an infrastructure standpoint. In this article, I’ll explain how to perform spoofing during a penetration test without breaking anything along the way or causi…

    🔗 hackmag.com/unix/perfect-mitm?

    #unix