Zsh Extended Globbing: Powerful File Matching
Learn how zsh’s extended globbing lets you filter files by name, type, size, and even content directly in the shell, saving time and keeping scripts portable.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Learn how zsh’s extended globbing lets you filter files by name, type, size, and even content directly in the shell, saving time and keeping scripts portable.
Learn how signal dispositions are inherited during fork() and reset during exec(), and how to use SIG_IGN to preserve process behavior across binary replacements.
Unix pipes connect processes via kernel buffers and inherited file descriptors, enabling composable CLI pipelines like journalctl | jq | sort | uniq | head. Covers mechanics, trade-offs (buffer limits, SIGPIPE, pipefail), and building reliable log-processing pipelines with standard tools.
Stop writing monolithic scripts for simple data tasks. Learn how to use the Unix Filter Pattern to compose powerful, modular pipelines using grep, awk, and sort.
Learn how to configure Unix cron jobs while avoiding common environment pitfalls, including path isolation, overlapping executions, and output redirection.
Learn how to spot inode exhaustion, identify the directories using the most inodes, clean them safely, and verify the fix on Unix filesystems.
Unix-like systems utilize Single User Mode to provide a minimal environment for filesystem repair and configuration diagnosis. This process typically involves passing specific flags to the bootloader to bypass the standard multi-user initialization sequence. There is a lack of consistency in how different initialization systems handle the transition from the
The `wait` builtin is defined by POSIX to wait for terminated background jobs and return their exit status. However, the value reported when a job ends because it was killed by a signal is not uniform; some shells return 128+signal while others return the signal number itself. Which exit code does each POSIX‑compliant shell return for a job killed with SIGTE
Memory Retention in Multithreaded glibc Environments In multithreaded Unix applications using glibc, the allocator creates per-thread arenas to reduce lock contention. By default, glibc may allocate up to eight arenas per CPU core on 64-bit systems. This behavior often results in Resident Set Size (RSS) growth that mimics a memory leak, as freed memory remai