Written 29 Aug 2026. This is a how-to, not a product card. Buy links are not tagged yet.
See whether two leftover-box files are the same
After SSH works, compare two leftover-box files with diff so you can tell if the spare still matches. You do not need a file viewer app for this.
Copy a leftover-box file without leaving the box makes a spare. Read a leftover-box file without opening the editor dumps one short file. After you edit the spare, diff tells you whether the two files still match, without opening both. You are still only looking. The leftover box does not need a desktop, a compare app, 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 a spare, that is copy a leftover-box file without leaving the box. If you want to dump one short file, that is read a leftover-box file without opening the editor. If you want to change a line, that is edit a leftover-box file from the couch. 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
diff compares two leftover-box files line by line. You run it on the leftover box, after SSH. The files stay on disk. You are only looking. It does not make a spare. That is cp. It does not dump one file. That is cat. It does not open an editor. That is nano. It does not ask what kind of file this is. That is file. Two paths, same leftover box, a match or the lines that differ.
Compare two files
SSH in. Make a throwaway text file, then a spare:
printf 'apple\\nbanana\\ncherry\\n' > ~/fruit.txt
cp ~/fruit.txt ~/fruit-spare.txt
Then ask whether they match:
diff ~/fruit.txt ~/fruit-spare.txt
A blank window means they match. That is the whole first-night trick. No news is the good answer.
Now change the spare and ask again:
printf 'apple\\nblueberry\\ncherry\\n' > ~/fruit-spare.txt
diff ~/fruit.txt ~/fruit-spare.txt
You should see the banana line and the blueberry line. Lines with < are in the first file. Lines with > are in the second. You do not need to memorize the rest of the marks tonight.
Useful extras, still looking only
Need a spare first? That is copy a leftover-box file without leaving the box. Need to know if the path is even text? That is see what kind of leftover-box file this is. Need a short dump of one file? That is read a leftover-box file without opening the editor.
If the leftover box says command not found, install the usual tool, then try again:
sudo apt install diffutils
Debian and Ubuntu Server usually already have it. That install is not a reason to buy a compare app.
When you are done practicing:
rm -i ~/fruit.txt ~/fruit-spare.txt
What this is not
This is not a copy. That is copy a leftover-box file without leaving the box. It is not a dump of one file. That is read a leftover-box file without opening the editor. It is not an editor. That is edit a leftover-box file from the couch. It is not a line count. That is see how long a leftover-box file is. It is not asking what kind of file this is. That is see what kind of leftover-box file this is. It is not a search for a word. That is find a word in a leftover-box file. It is not a hunt for a file by name. That is find a leftover-box file by name. It is not an empty leftover-box file. That is make an empty leftover-box file. It is not a house share other computers browse. That is a folder the house can open.
What next
Need an empty file first? Make an empty leftover-box file. Need a spare to compare against? Copy a leftover-box file without leaving the box. Need to change the spare? Edit a leftover-box file from the couch. Need a short dump of one file? Read a leftover-box file without opening the editor. Need to know if the path is text before you compare it? See what kind of leftover-box file this is. Need the first lines of a long file? See the start of a leftover-box file. Need the last lines? See the end of a leftover-box file. Need only the lines with one word? Find a word in a leftover-box file. Need the throwaway gone for real? Delete a leftover-box file carefully. Need a file from the laptop instead? Copy a file to the leftover box from your laptop. When a house job broke, look at the leftover box's own diary: when something broke, look at the leftover-box log. 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
- Skip if SSH still fails. Finish SSH from the couch first.
- Skip
diffon photos, zip files, or leftover-box programs. Those print junk. Two text files are the job. Ask first with see what kind of leftover-box file this is. - Skip a compare app, Git, or a NAS to see whether one leftover-box spare still matches.
- Skip extra flags on night one. A blank window or the differing lines is enough. You do not need a side-by-side view.
- Skip leftover-box SSH settings,
/etc/shadow, and anything under/etc/ssh. Looking at trusted laptop keys is see which laptop keys the leftover box already trusts. - Skip opening SSH to the internet so you can compare files from a coffee shop. That is keep the leftover box on the house network.
Sources
Debian: diff. Ubuntu: diff. Official pages only. For the login, see SSH from the couch. For a spare, see copy a leftover-box file without leaving the box. For a short dump, see read a leftover-box file without opening the editor. For a kind-of-file check, see see what kind of leftover-box file this is.