unix
lazy-tmux: restore tmux sessions lazily, with scrollback https://lobste.rs/s/z1alry #show #go #release #unix
https://lazy-tmux.xyz
# FreeBSD
pkg ins vim # same as pkg install vim
pkg sea vim # same as pkg search vim
# NetBSD
pkgin in vim # same as pkgin install vim
pkgin se vim # same as pkgin search vim
# while in Debian
apt search vim # no apt se/sea
apt install vim # no apt in/ins
#BSD #RunBSD #Unix
ISO dates and Unix locale https://lobste.rs/s/ueqs5s #unix
https://nelsonslog.wordpress.com/2026/06/09/iso-dates-and-unix-locale/
#FOSS #News #unix #KernelOrg
You are not expected to understand this https://en.wikipedia.org/wiki/A_Commentary_on_the_UNIX_Operating_System
Nix Flakes and their Guix Equivalents https://lobste.rs/s/fybei2 #linux #lisp #nix #unix
https://coopi.neocities.org/posts/nix-flakes-vs-guix#guix-purity-by-design_6eece251b1ca
These are some of the great textbooks to teach #UNIX #OS to #CS undies:
• V6, Lions
• SVR2, Bach
• MINIX3, Tanenbaum
• Xinu, Comer
• xv6 (V6 clone), Cox
But there is a space to create an even smaller, sleeker, simpler, study OS:
• Barebones 32-bit OS that runs on a cheap Cortex-M3 board (STM32 Blue Pill) or RISC-V board (ESP32-C6)
• Keep the code under 10k lines of C (or Ada, Rust, Zig, ...)
• Support only UNIX-like soft-realtime scheduling (no RTOS)
• Support user and kernel modes
• Multiplex the single-core CPU to multiple processes
• Map a handful of interrupts to signals
• Provide a subset of the POSIX API, just enough to run a simple I/O executable (button pushy/LED blinky) in multiple processes, simultaneously
• Single-user (root only) operation
• No security, accounting, etc.
• Shell on a terminal emulator, via a USB-TTL adapter
The goal is to create a smallest, simplest, bona fide OS for the cheapest ($0.99) hardware, so as to steer kids away from Scratch, MicroPython, Processing, and similar other harmful influences, during the early phase of their system #programming education.
To make explicit the implicit premise above, the marvellous Arduino teaches the kids to do the easy thing repeatedly, but a comparative-joke C64 forces the kids to do the right thing persistently.
It is infeasible to teach, in detail, the essentials of an OS (scheduling algorithms, process management, memory management, memory protection, authentication, authorisation, encryption, disc I/O, network I/O, graphics I/O, ...) in just one semester.
In contrast, the kids could master the above mentioned focused curriculum in just one semester, thereby gaining much confidence in system #programming.
How OpenSSH implements privilege separation https://lobste.rs/s/kfavsp #security #unix
https://github.com/openssh/openssh-portable/blob/master/README.privsep
Change Default Linux/Unix Image Viewer Application
Use this complete guide to change the default image viewer application for a graphical desktop environment on a GNU/Linux or Unix operating system.
https://www.adamsdesk.com/posts/change-default-linux-unix-image-viewer/
Change gPodder's Default Data and Download Directory
Learn how to change gPodder’s default data and download directory using environment variables on GNU/Linux or Unix with Xorg/Wayland and Windows.
https://www.adamsdesk.com/posts/gpodder-change-data-download-directory/
Obfuscated bash script by Akamai being supplied to consumers via retail stores https://lobste.rs/s/mp42ys #reversing #unix
https://tris.sherliker.net/blog/obfuscated-self-evaluating-bash-script-by-cdn-akamai-being-supplied-to-consumers-via-retail-stores/
Quickly Find Undefined or Null YAML Keys with YQ
Use this solution to quickly find a YAML (YAML Ain’t Markup Language) key within front matter that is undefined or has a value of null using yq.
https://www.adamsdesk.com/posts/find-undefined-null-yaml-key/
In reviewing my research notes for a SIGGRAPH interview, I'm surprised at how accurately I determined the who and when of the UNIX V4 tape.
Before we had any supporting documents with the tape, I had to look elsewhere. My best source was a list of the first UNIX users outside of Bell Labs, which lists Martin Newell of the University of Utah as #19, but does not have any dates. To estimate when the tape would have been made, I tracked down the other institutions' histories and UNIX license agreements from their archives. This was tedious, but it was the only way I could narrow the timeframe. I determined that UNIX was likely licensed for the U in June 1974.
After determining that, a letter was found among the same papers as the tape, from Ken Thompson to Martin Newell, apologizing for their delay in sending the tape. It was dated 31 May 1974. Then, once we recovered the tape's data, the file system showed the tape was copied on 12 June 1974. Wow.
#unix #retrocomputing #vintagecomputing #archives #archivistodon
BSD make extravaganza: a Mandelbrot set renderer via @fanf https://lobste.rs/s/3w34zg #satire #unix
https://github.com/b-aaz/bmake-extravaganza
New to FreeBSD? Choosing the right installation image is a great place to start.
A member of the FreeBSD community recently shared a helpful walkthrough explaining the different FreeBSD installation images and when to use each one, including:
• DVD images
• Boot-only (network install)
• USB memory stick images
Watch the video:
https://www.youtube.com/watch?v=2EFG3BO6oVY
Which installation method do you prefer when getting started with FreeBSD?
#FreeBSD #OpenSource #BSD #Unix #TechTips
Temporary files: RAM or disk? (2012) via @mjturner https://lobste.rs/s/x6471w #linux #unix
https://lwn.net/Articles/499410/
Add Operating System Installation Date to Fastfetch
Quick and easily add the operating system’s installation date to Fastfetch configuration using this comprehensive guide.
https://www.adamsdesk.com/posts/fastfetch-add-os-install-date/
eh: a minimalist vi-like editor https://lobste.rs/s/au6oho #editors #unix #vim
https://codeberg.org/SirWumpus/eh
nb: a command line and local web note‑taking, bookmarking, archiving, and knowledge base application https://lobste.rs/s/ljqivd #unix
https://github.com/xwmx/nb
Where did my segfault go? https://lobste.rs/s/tedtzz #c #unix
https://rmpr.xyz/Where-did-my-segfault-go/