Inspect carriage returns with GNU sed, compare Bash and direct execution, create an LF copy without replacing the original, and check Git line-ending attributes.
Choose where to keep a WSL project by checking where its tools run, comparing Linux storage with mounted Windows drives, and testing a small working copy.
- Published: 2026.10.07
- Updated: 2026.10.16
- Windows
Calculate a file's SHA256 checksum with PowerShell and compare it with the official download value. Understand mismatches, literal paths and what a match proves.
Use git diff --check in PowerShell to find trailing whitespace, inspect staged changes, stage corrections again, and understand exit codes and untracked files.
- Published: 2026.10.09
- Updated: 2026.10.16
- Windows
Check file existence and distinguish files from folders with Test-Path. Handle square brackets with LiteralPath and understand why IsValid is different.
- Published: 2026.10.13
- Updated: 2026.10.16
- Windows
Compare line arrays and whole-file strings with Get-Content -Raw, including newlines, empty files, LiteralPath, encoding, and first or last lines.
- Published: 2026.10.14
- Updated: 2026.10.16
- Windows
Read a JSON file with PowerShell ConvertFrom-Json, retrieve properties and array items, and handle parsing errors. Includes Windows PowerShell 5.1 and PowerShell 7 differences.
Export a WSL distribution to tar, restore it under a different name, and check its files and Linux user while keeping the original Ubuntu environment.
- Published: 2026.10.16
- Updated: 2026.10.16
- Windows
Find matching log lines and line numbers with Select-String. Use literal text, regular expressions, case sensitivity, Quiet and AllMatches.
- Published: 2026.10.16
- Updated: 2026.10.16
- Windows
Combine folder and file names with Join-Path. Handle separators and nested paths, and understand Test-Path, Resolve and version differences.