Labthrift Labthrift What to buy. What to skip. Why.

Written 1 Sep 2026. This is a how-to, not a product card. Buy links are not tagged yet.

Peek at leftover-box file bytes

After leftover-box sync (or after writing a practice file), peek with od so you see the characters and bytes that are actually on disk. You do not need extra system software beyond coreutils.

Finish leftover-box disk writes flushed pending writes. Tonight is a small look at what landed: ask the leftover box to show the bytes inside a practice file. od historically meant “octal dump.” Tonight you use it as a safe peek at characters (and, if you want, hex bytes) so you trust a copy before you unplug. That is not printing the file as plain text. That is read a leftover-box file without opening the editor. That is not asking what kind of file this is. That is see what kind of leftover-box file this is. That is not a fingerprint. That is check a leftover-box file fingerprint. That is not comparing two files. That is see whether two leftover-box files match byte for byte. You are still only practicing in home. The leftover box does not need hex editors, htop, Grafana, or a NAS for this one job.

Skip until SSH already works

SSH from the couch should already get you a leftover-box prompt. If you only need to write practice words, that is print leftover-box words leftover-box exactly or put a short line into a leftover-box file. If you only need to flush writes, that is finish leftover-box disk writes. If you only need the text as text, that is read a leftover-box file without opening the editor. If you only need a fingerprint, that is check a leftover-box file fingerprint. Skip this whole note if you only need a house share other computers browse. That is a folder the house can open.

What this is

od dumps a file’s bytes in a readable way. The name is old: octal dump. On night one you mostly want the character view (-c), which shows letters and makes newlines and other control characters obvious. Optional hex (-tx1) shows each byte as two hex digits. It does not rewrite the file. It does not invent a checksum. It does not decide the file “kind.” Those jobs already have their own notes.

Practice od in home

SSH in. Make sure home is where you are sitting:

pwd

You want a path that ends in your login name. If not:

cd ~

Optional: park one short practice line, then flush (see printf and sync):

printf 'hello\n' > ~/od-a.txt

sync

Peek at characters (night one job — easiest first-timer view):

od -c ~/od-a.txt

You want something like the letters h e l l o, then a visible newline marker (often \n), then the prompt back. That is enough for tonight: you saw what is actually in the file.

Optional hex bytes (same tiny file):

od -An -tx1 ~/od-a.txt

Or characters and hex together:

od -An -tx1c ~/od-a.txt

-An means skip the address column. -tx1 means one-byte hex. Do not make hex required. Character view is enough for night one.

Debian and Ubuntu usually already have od (coreutils). Do not make apt the lesson. If it is somehow missing:

sudo apt install coreutils

Then stop. That install is not a reason to buy a hex editor.

When you are done practicing:

rm -i ~/od-a.txt

Ask first. Say yes only if the name matches. That careful delete is delete a leftover-box file carefully. Skip rm -rf.

Useful extras, still home-safe

Skip huge dumps as tonight’s job. Night one is one tiny home file, not a giant dump of disks, logs, or /etc.

Skip piping od into rm. Od peeks. Rm deletes. Do not mix those jobs.

Skip hexdump and xxd as tonight’s job. No new pages for those this cycle. Tonight’s tool is od.

Skip dd, shred, and dropping caches. Night one is a quiet peek, not a wipe or a cache lesson.

Skip file, sha256sum, cmp, and cat as tonight’s job — those pages already exist. Link them when you need them.

Skip screen, tmux, port 22 forwarding, apt as the lesson, htop, Grafana, and a NAS. Keep SSH on the house network: keep the leftover box on the house network. Do not forward port 22.

Skip leftover-box-df, leftover-box-awk, leftover-box-sed, and leftover-box-install this cycle. Free space is already see if the leftover box still has room. Emptying or shrinking a practice file without deleting the name is empty or shrink a leftover-box practice file.

What this is not

This is not leftover-box sync. That is finish leftover-box disk writes. It is not leftover-box printf or leftover-box echo. Those write words: print leftover-box words leftover-box exactly, put a short line into a leftover-box file. It is not leftover-box cat. That prints text as text: read a leftover-box file without opening the editor. It is not leftover-box file. That guesses the kind of file: see what kind of leftover-box file this is. It is not leftover-box sha256sum. That fingerprints one file: check a leftover-box file fingerprint. It is not leftover-box cmp. That compares two files byte for byte: see whether two leftover-box files match byte for byte. It is not opening SSH to the internet so you can dump files from a coffee shop. That is keep the leftover box on the house network. Do not forward port 22.

What next

Need to empty or shrink a practice file without deleting the name? Empty or shrink a leftover-box practice file. Need a flush first? Finish leftover-box disk writes. Need exact practice words? Print leftover-box words leftover-box exactly. Need a short line with the newline echo always adds? Put a short line into a leftover-box file. Need the text as text? Read a leftover-box file without opening the editor. Need a fingerprint instead of a dump? Check a leftover-box file fingerprint. Need the kind of file? See what kind of leftover-box file this is. Need two files compared? See whether two leftover-box files match byte for byte. Need the throwaway gone? Delete a leftover-box file carefully. When key login is boring on every computer you use, turn off leftover-box password login once the key works. Keep SSH on the house network: keep the leftover box on the house network. Do not forward port 22.

Skip

Sources

Debian: od(1). Ubuntu: od(1). GNU coreutils: od. Official pages only. For the flush, see finish leftover-box disk writes. For exact words, see print leftover-box words leftover-box exactly. For a short dump as text, see read a leftover-box file without opening the editor. For a careful delete, see delete a leftover-box file carefully. For the login, see SSH from the couch.

Also on this topic

SSH from the couchType commands on the leftover box from your laptop, on the house network. Password login first. Do not open this to the internet. Finish leftover-box disk writesAfter a practice write, finish disk writes with sync so the file is really on disk before you unplug or power off. You do not need extra system software for this. Print leftover-box words leftover-box exactlyPrint words exactly with printf so a practice file gets the text you meant, without the extra newline echo always adds. You do not need extra system software for this. Put a short line into a leftover-box fileAfter SSH works, put one short line into a leftover-box file with echo so you do not need to open nano. You do not need a file manager app for this. Read a leftover-box file without opening the editorAfter SSH works, print a leftover-box file with cat so you can read it without opening nano. Short files only. You do not need a file viewer app for this. Check a leftover-box file fingerprintAfter SSH works, check a leftover-box file with sha256sum so you know the file you pulled still matches the fingerprint you expected. You do not need a download manager for this. See what kind of leftover-box file this isAfter SSH works, ask what kind of leftover-box file this is with file before you dump it. You do not need a file viewer app for this. See whether two leftover-box files match byte for byteCompare two practice files with cmp so silence means they match exactly, and a short message shows the first difference. You do not need extra system software for this. Empty or shrink a leftover-box practice fileAfter leftover-box od (or after writing a practice file), use truncate so you empty or shrink the file without deleting its name. You do not need extra system software beyond coreutils. Delete a leftover-box file carefullyAfter SSH works, delete one leftover-box file with rm -i. Ask first. Skip rm -rf. You do not need a NAS for this. Turn off leftover-box password login once the key worksAfter the laptop key login is boring, tell SSH to stop accepting the leftover-box password. The key is how you get in. A keyboard on the leftover box is the backup now. Keep the leftover box on the house networkSSH and Pi-hole belong on the house network. Skip this if you never opened the router settings. Do not forward port 22.