Appendix: Commands Learned
Commands Learned
New or non-obvious commands encountered during this deployment:
| Command | What It Does |
|---|---|
|
Reliable MAC extraction — field position varies with altname, |
|
Pass env vars through sudo ( |
|
Mount FAT32/exFAT as your user so |
|
Bypass SSH config entirely — ignores |
|
rsync with SSH config bypass for password auth |
|
scp with SSH config bypass (scp uses |
|
SSH to GitHub over HTTPS port — |
|
Clone via port 443 when port 22 is blocked. |
|
Fix remote URL after cloning with port 443 workaround |
|
Print secret to console over SSH — |
|
|
|
Reveals which nvim config directory is active — |
|
Change partition type without reformatting — preserves data |
|
Register EFI boot entry when firmware doesn’t auto-detect it |
|
Show sshd RUNTIME config — what’s actually enforced, not just what’s in the file |
|
Clear stale GPG locks after rsync from another machine |
|
Check if a package is already installed before running |
|
Search repos for a package (fuzzy match) |
|
Find which package provides a missing shared library (run |
|
Check what package owns an installed file on a working machine (baseline comparison) |
|
Find ALL missing shared libraries for a binary at once — stops chasing them one at a time |
|
Tell running gpg-agent to use current terminal’s TTY for pinentry — required for SSH sessions when desktop is running |
|
Follow entire symlink chain to the final target — reveals broken chains |