Skip to content

Posts

Linux Basics: Select Text Report Pages with GNU pr

Use GNU pr to select a logical text page and arrange short labels in columns without invoking a printer.

Read more →

October 29, 2026

Linux Basics: Pass Difficult Filenames from find to xargs

Preserve spaces and newlines in filenames with GNU find -print0, sort -z, and xargs -0 while previewing arguments safely.

Read more →

October 29, 2026

Linux Basics: Order Prerequisites with GNU tsort

Turn prerequisite pairs into an execution order with GNU tsort and reject cyclic input before using its output.

Read more →

October 29, 2026

Linux Basics: Order Numbered Filenames with GNU Version Sort

Compare lexical and version sorting for numbered filenames, then sort a version field without changing the input file.

Read more →

October 29, 2026

Linux Basics: Compare Apparent and Allocated File Size with GNU du

Measure a sparse file in bytes with GNU du and distinguish its logical length from filesystem allocation.

Read more →

October 29, 2026

Git Basics: Trace One File Back Through a Rename

Compare a path-limited Git log with git log --follow using a local rename and inspect the earlier history of one configuration file.

Read more →

October 29, 2026

Git Basics: Review Small Prose Edits with Word Diffs

Display a one-word documentation edit with git diff --word-diff=plain and understand the limits of its inline markers.

Read more →

October 29, 2026

Git Basics: Preview Author Identity Mappings Without Rewriting History

Test a .mailmap entry with git check-mailmap and compare stored versus canonical author identities without changing a commit.

Read more →

October 29, 2026

Git Basics: Compare Two Versions of a Patch Series

Use git range-diff to compare two local patch series, inspect a changed patch, and recognize unchanged patches with different commit IDs.

Read more →

October 29, 2026

Git Basics: Catch Staged Whitespace Errors Before Committing

Check staged whitespace errors with git diff, preserve its failure status, and verify that a working-file correction must be staged again.

Read more →

October 29, 2026