Linux / Shell
Commands, filesystems, processes, and shell scripting references
Browse by topic
Linux / Shell guides17
Practical Modern CLI Tools — Speed Up Your Work with ripgrep, fd, fzf, and bat
Compares ripgrep (rg), fd, fzf, and bat with classic tools like grep, find, and cat, covering installation, basic usage, and shell integration. A practical guide to speeding up terminal work with fast search, intuitive syntax, a fuzzy finde
Complete logrotate Guide — Automatic Log Rotation and Compression
This guide explains how to automatically rotate, compress, and retain log files with logrotate. It covers the /etc/logrotate.conf and /etc/logrotate.d layout, the rotate, size, compress, and postrotate directives, copytruncate vs create, cr
strace · ltrace in Practice — Tracing System Calls and Library Calls
Learn how to diagnose file, network, and signal issues by tracing a process’s system calls with strace, and how to analyze library function calls with ltrace.
SSH Config File: Managing Multiple Servers with Host Aliases, Jump Hosts, and ssh-agent
How to manage multi-server shortcuts, jump hosts, key files, and port forwarding with ~/.ssh/config, and how to load keys automatically with ssh-agent.
jq Practical Guide — JSON Parsing, Filtering, and Transformation
Production patterns for parsing, filtering, and transforming curl API responses, config files, and logs with jq. The standard way to handle JSON in shell scripts.
Vim Practical Guide — Using Vim at Work Without Plugins
Covers mode switching, motions, visual block, macros, and multi-file editing so you can use Vim on the job immediately—no plugins required.
grep · cut · sort · uniq · wc: Practical Pipelines
A practitioner’s roundup of production patterns that combine grep regex, cut field splitting, sort, uniq deduplication, and wc counts into pipelines.
Advanced Bash Scripting — Functions, Arrays, getopts, and trap
A practical roundup of production automation patterns: function definitions and return values, array manipulation, option parsing with getopts, and signal handling with trap.
Linux Performance Diagnostics in Depth — Hands-on with perf, eBPF, and FlameGraph
Measure CPU hotspots with perf, trace kernel events with eBPF/bpftrace, and visualize bottlenecks with FlameGraph — an in-depth guide to digging production performance problems down to the root.
Safe File Synchronization and Backup with rsync
A practitioner-focused guide covering rsync’s essential options, remote server synchronization, and automated incremental backups.
tmux for Remote Servers: Keeping Sessions Alive Across Disconnects and Splitting Windows and Panes
tmux is an essential tool for remote server work. This practical guide covers session persistence, window splitting, and configuration customization.
awk · sed in Practice — Log Parsing and Text Transformation
A practical roundup of awk and sed patterns used every day on the job—log analysis, CSV conversion, config-file patching, and more.
Complete Practical Guide to the find Command
A job-ready rundown of the find command—from file search and conditional filters to exec-based delete and convert workflows you can use in production.
Practical Shell Scripting Basics
Explains how to write bash scripts you can use immediately in production, covering variables, conditionals, loops, functions, and error handling.
Cron Job Scheduler: A Practical Guide
Covers crontab syntax, environment variable setup, and logging methods for automating recurring jobs.
Managing systemd Services: systemctl Commands, Custom Unit Files, and Checking Logs with journalctl
A step-by-step guide to starting, stopping, and enabling services with systemctl, and writing your own service unit files.
100 Essential Linux Commands
A category-by-category roundup of Linux commands you use every day on the job—from file operations to process management.