Best of UNIX2025

  1. 1
    Video
    Avatar of bigboxswebigboxSWE·1y

    How To Become Obsessed With Programming

    Solving personal problems can lead to an obsession with programming. The author shares how creating a script to restore their development environment during frequent power outages helped them learn bash and Unix commands. They also mention learning devops and vim key bindings to resolve other issues, suggesting that tackling problems that affect you personally can boost your interest in coding.

  2. 2
    Article
    Avatar of hnHacker News·1y

    Introduction to System Programming in Linux

    This comprehensive guide introduces system programming for Linux and Unix systems, covering key concepts such as file I/O, process creation, signals, interprocess communication, and thread synchronization. The content includes practical chapters on working with command interfaces, terminals, timers, and the NCurses library, offering insights into both basic and advanced topics related to system programming.

  3. 3
    Article
    Avatar of yegor256Yegor's Blog·28w

    Programmers, Don't Use Windows!

    Unix-based systems like macOS provide programmers with powerful abstractions—everything is a file, processes connect through pipelines, and command-line tools compose naturally. Windows evolved from DOS with GUI-centric design, lacking the unified file abstraction and shell pipeline philosophy that has proven effective since the 1970s. The command line exposes logic as text that can be automated, combined, and version-controlled, while GUI interactions remain ephemeral and non-composable.

  4. 4
    Article
    Avatar of lobstersLobsters·26w

    How I fell in love with calendar.txt

    A developer shares their experience adopting calendar.txt, a plain text file for managing calendar events using Unix command-line tools. They demonstrate how simple grep, vim, and bash aliases provide elegant solutions for viewing daily events, editing dates, and handling recurring events—all faster and more reliable than web-based calendar interfaces. The approach offers simplicity, trust, and personal customization through Unix tools, though mobile access remains challenging on proprietary systems like Android.

  5. 5
    Article
    Avatar of hnHacker News·1y

    I spent 18 years in the Linux console and I don't regret it

    The post explores the author's journey with Linux spanning over 18 years. It begins with their introduction to the OS in the early 2000s and continues to describe the learning experiences, nostalgic moments, and skills gained through using Linux without modern aids like the internet. It covers the transition from Windows to dual-boot setups, the acquisition of programming knowledge, the challenges faced, and the tools used. The author reminisces about university life and embedded programming, highlighting the long-term benefits of mastering the Linux console. The post concludes with reflections on the current state of Linux and the author's preferences for software and tools.

  6. 6
    Video
    Avatar of linuxcastThe Linux Cast·50w

    Kew: Pretty Music In Your Terminal

    This post explores 'Kew', a terminal music player that balances functionality without being overly complex. It is praised for its speed, simple interface, and ability to handle large music libraries efficiently. The player supports Vim keybindings and album art display using the Kitty image protocol. However, there are some limitations, such as sorting and playlist management. Configuration options are available for customizing keybindings.

  7. 7
    Video
    Avatar of primeagenThePrimeTime·1y

    Linux Is Obsolete

    In 1992, a heated discussion occurred on the topic of Linux being an obsolete and inadequate operating system as compared to microkernel based systems like Minix. Linus Torvalds, the creator of Linux, defended his project against such criticism, emphasizing that Linux was a hobby project, freely available, and designed for real-world usability. He pointed out that the limitations of Minix, both in terms of performance and multitasking, made Linux a better choice despite its monolithic nature. This conversation also highlighted the broader debate between microkernels and monolithic kernels, as well as the importance of accessibility and practicality in software adoption.

  8. 8
    Article
    Avatar of lnLaravel News·1y

    GGH is a Lightweight CLI to Recall Your SSH Sessions

    GGH is a lightweight CLI tool that helps recall SSH sessions and search your SSH configuration file. Compatible with Unix and Windows systems, it wraps SSH commands for easy session management without replacing SSH. The project is available on GitHub with installers for both operating systems.

  9. 9
    Article
    Avatar of hnHacker News·28w

    Why /dev/null Is an ACID Compliant Database

    A humorous technical exploration demonstrating how /dev/null technically satisfies all ACID database properties: atomicity (writes are all-or-nothing), consistency (always remains empty), isolation (concurrent writes never conflict), and durability (maintains its empty state after crashes). The satirical piece highlights database concepts through an absurd but technically accurate lens, noting the only limitation is 0 bytes of storage.

  10. 10
    Article
    Avatar of theregisterThe Register·1y

    Techie pulled all-nighter that turned into an all-weekender

    A techie named Alejandro, working for a multinational company in the early 1990s, pulls an all-nighter for a mainframe migration project. While cleaning up after the task, he accidentally wipes the entire system using the rm -rf command due to fatigue. Fortunately, he manages to recover the system using backup tapes and completes the job before Monday morning, avoiding termination.

  11. 11
    Article
    Avatar of jvnsJulia Evans·45w

    New zine: The Secret Rules of the Terminal

    Julia Evans has released a new zine explaining the hidden complexities of terminal usage. The zine covers how terminals work internally, including the interaction between shells, terminal emulators, programs, and TTY drivers. It addresses common terminal inconsistencies like different quit commands, arrow key behavior, and mouse selection. The guide explains terminal conventions, escape codes, color management, and provides practical tips for debugging terminal issues and improving the user experience.

  12. 12
    Article
    Avatar of awegoAwesome Go·1y

    Starting Systems Programming, Pt 1: Programmers Write Programs

    The post introduces the fundamentals of systems programming, covering essential topics such as bit manipulation, parsing, filesystems, input/output, syscalls, memory management, and signals. The focus is on writing multiple programs from scratch to understand the basics of programming deeply. Numerous exercises are provided to practice these skills, and the code examples are primarily in Go, with some Bash scripts.

  13. 13
    Article
    Avatar of hnHacker News·1y

    directvt/vtm: Text-based desktop environment

    VTM is a text-based desktop environment where the user interface is represented by a mosaic of text cells forming a TUI matrix. It wraps any console application and can be nested indefinitely. Currently, native GUI window rendering is available only on Windows, while Unix platforms need a terminal emulator.

  14. 14
    Article
    Avatar of hnHacker News·1y

    yassinebenaid/bunster: Compile shell scripts to static binaries.

    Bunster transforms shell scripts into efficient, standalone binaries using the Go toolchain, ensuring performance, portability, and security. Currently supporting bash scripts, it plans to introduce custom features like modules and static asset embedding. Still in early development, Bunster welcomes contributions from the community and aims for full compatibility with bash by v1.0.0.

  15. 15
    Article
    Avatar of hnHacker News·49w

    Command Line Handbook_

    A comprehensive handbook covering Unix/Linux command-line fundamentals, including terminals, shells, command-line applications, and shell scripting. Features over 100 annotated examples and practical tips for developers, sysadmins, and tech workers to master essential command-line skills without reading extensive manuals.

  16. 16
    Article
    Avatar of hnHacker News·1y

    Operating System in 1,000 Lines

    Build a simple operating system from scratch in 1,000 lines of code, focusing on basic context switching, paging, user mode, a command-line shell, a disk device driver, and file operations in C. The process includes learning different debugging techniques essential for OS development. The book is ideal for those familiar with C language and UNIX-like environments.

  17. 17
    Article
    Avatar of last9Last9·1y

    Essential Unix Commands Cheat Sheet for DevOps Engineers

    The post provides a comprehensive cheat sheet of essential Unix commands for DevOps engineers, covering file operations, directory management, system information, text processing, networking, process management, and permission management. It includes practical examples and usage scenarios for commands like ls, cp, mv, rm, pwd, cd, grep, sed, awk, top, ps, curl, wget, chmod, chown, and sudo, among others, to enhance productivity and efficiency in server management, troubleshooting, and automation tasks.

  18. 18
    Article
    Avatar of theregisterThe Register·31w

    IBM CEO apologized to techie who found rude error message

    A technician working for an IBM dealer in the late 1980s discovered an extremely profane error message hidden in IBM's AADU software while exploring it with Norton Utilities. After showing the discovery to his IBM contact, the situation escalated to IBM's CEO, who sent a formal apology letter. The technician never managed to trigger the error message despite multiple attempts, and wondered whether any IBM developers lost their jobs over the incident.

  19. 19
    Video
    Avatar of typecrafttypecraft·1y

    Did you know VIM could do THIS?!

    Discover 10 quirky but impressive tricks you can do with Vim, from ROT13 encryption and inserting random data to browsing web content and converting files to HTML. These tips showcase some fun and lesser-known features of Vim that can either be practical or just amusing. Join in to expand your Vim knowledge and impress your peers.

  20. 20
    Article
    Avatar of lobstersLobsters·1y

    GitHub - pkgforge/soar: A fast, modern package manager for Static Binaries, Portable Formats (AppImage

    Soar is a fast and modern package manager ideal for Unix-based distributions, supporting static binaries, AppImages, and other portable formats. It offers native desktop integration, high security standards, and a large repository of prebuilt packages. Soar is easy to use, requiring just a simple download and run, with many configurations already set by default. The tool provides a comprehensive guide and maintains robust community support for contributions and enhancements.

  21. 21
    Video
    Avatar of coredumppedCore Dumped·1y

    Why Applications Are Operating-System Specific

  22. 22
    Video
    Avatar of awesome-codingAwesome·1y

    The Crazy History of the BEST Operating System...

    In 1991, Linus Torvalds, a student at the University of Helsinki, started developing what would become the Linux kernel. Initially a hobby project, Linux grew to power countless devices, from Android phones to servers at Google and Facebook. The kernel, combined with GNU userland tools, became a complete operating system. Linux's open-source nature fostered community collaboration and led to its widespread adoption across diverse fields, from enterprise servers to smartphones. Despite its critical role, Linux remains less common on personal desktops.

  23. 23
    Article
    Avatar of codeconfessionsConfessions of a Code Addict·1y

    How Unix Spell Ran in 64kB RAM

    Unix engineers designed the Unix spell checker to perform fast spell checks using just 64kB of RAM on the PDP-11. This was achieved through innovative techniques such as Bloom filters and Golomb coding for effective data compression and lookup efficiency. The solution included a clever linguistics-based stemming algorithm for reducing dictionary size and storing differences between sorted hash codes, ultimately achieving near-optimal compression ratios. These engineering insights remain relevant today in designing efficient systems under resource constraints.