Linux

Linux

Linux yq: Command-Line YAML Processing

If you’ve worked with JSON on the command line, you’ve likely used jq. For YAML files, yq fills the same role—a lightweight, powerful processor for querying and manipulating structured data without…

Read more →
Linux

Linux SSH Tunneling: Port Forwarding

SSH tunneling leverages the SSH protocol to create encrypted channels for arbitrary TCP traffic. While SSH is primarily known for remote shell access, its port forwarding capabilities turn it into a…

Read more →
Linux

Linux strace: System Call Tracing

Every time your application reads a file, allocates memory, or sends data over the network, it makes a system call—a controlled transition from user space to kernel space where the actual work…

Read more →
Linux

Linux sudo: Privilege Escalation

Linux implements privilege separation as a fundamental security principle. Rather than having users operate as root continuously, the sudo (superuser do) mechanism allows specific users to execute…

Read more →
Linux

Linux Symbolic Links vs Hard Links

Linux links solve a fundamental problem: how do you reference the same file from multiple locations without duplicating data? Whether you’re managing configuration files, creating backup systems, or…

Read more →
Linux

Linux jq: Command-Line JSON Processing

If you’re working with JSON data on the command line—and as a modern developer, you almost certainly are—jq is non-negotiable. This lightweight processor transforms JSON manipulation from a tedious…

Read more →
Linux

Linux lsof: List Open Files

The lsof command (list open files) is an indispensable diagnostic tool for anyone managing Linux systems. At its core, lsof does exactly what its name suggests: it lists all files currently open on…

Read more →
Linux

Linux Makefile: Build Automation

Make is a build automation tool that’s been around since 1976, yet it remains indispensable in modern software development. While newer build systems like Bazel, Ninja, and language-specific tools…

Read more →
Linux

Linux Cron Jobs: Scheduling Tasks

Cron is Unix’s time-based job scheduler, running continuously in the background as a daemon. It’s the workhorse of system automation, handling everything from nightly database backups to log rotation…

Read more →
Linux

Linux Disk Usage: df, du, and ncdu

Running out of disk space in production isn’t just inconvenient—it’s catastrophic. Applications crash, databases corrupt, logs stop writing, and deployments fail. I’ve seen a full /var partition…

Read more →