Written 29 Aug 2026. This is a how-to, not a product card. Buy links are not tagged yet.
Read a leftover-box file without opening the editor
After 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.
See what's in a leftover-box folder gives you names. Tonight you want the words inside one of those names. cat prints a leftover-box file straight into the SSH window. Useful after edit a leftover-box file from the couch, so you can check the save without opening the editor again. The leftover box does not need a desktop, a file manager, 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 want the names in a folder, that is see what's in a leftover-box folder. If you want to change a line, that is edit a leftover-box file from the couch. If a house job broke and you need the leftover box's own log, that is when something broke, look at the leftover-box log. 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
cat prints a leftover-box file. You run it on the leftover box, after SSH. The file stays on disk. You are only looking. It does not open an editor. That is nano. It does not list folder names. That is ls. It does not pull the leftover box's system journal. That is when something broke, look at the leftover-box log. One path, same leftover box, words on the screen.
Print a short file
SSH in. If you do not already have a throwaway file, make one in home:
echo 'hello leftover' > ~/hello.txt
Then print it:
cat ~/hello.txt
You want the same line you wrote. Swap the name for yours. A short text file is the right first try. Photos, zip files, and leftover-box programs will print junk. Skip those.
See that you did not change it
List it:
ls -lh ~/hello.txt
You want the same name, a tiny size, and today's date if you just made it. Print it a second time if you want. The leftover box showed you the file. It did not edit it. Need a line changed? That is edit a leftover-box file from the couch.
Optional: first lines only
A long leftover-box file can flood the SSH window. If that happens, Ctrl+C stops the print. For a peek at the top instead:
head -n 20 ~/hello.txt
That prints the first twenty lines and stops. Need the whole long file one screen at a time? That is read a leftover-box file one screen at a time. Optional line numbers on a short file:
cat -n ~/hello.txt
Practice in home. Skip leftover-box SSH settings and anything under /etc/shadow.
What this is not
This is not an editor. That is edit a leftover-box file from the couch. It is not a list of names. That is see what's in a leftover-box folder. It is not the leftover box's system journal. That is when something broke, look at the leftover-box log. It is not a look at which laptop keys the leftover box already trusts. That is see which laptop keys the leftover box already trusts. It is not a house share other computers browse. That is a folder the house can open.
What next
Need the whole long file one screen at a time? Read a leftover-box file one screen at a time. Need only the lines with one word? Find a word in a leftover-box file. Need the names first? See what's in a leftover-box folder. Need to change a line? Edit a leftover-box file from the couch. Need a spare before you edit? Copy a leftover-box file without leaving the box. Need a better name? Rename or move 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. Tired of retyping the same long line? Reuse a leftover-box command you already typed. 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
nanoif you only want to look. That tool is for changing a line. - Skip
caton photos, zip files, leftover-box programs, or a file so long it never stops. Usehead -n 20for a peek, or read a leftover-box file one screen at a time for the whole long file. - Skip buying a file viewer, a “cloud IDE,” or a NAS to read one leftover-box text file.
- 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 read files from a coffee shop. That is keep the leftover box on the house network.
Sources
GNU coreutils: cat invocation. Debian: cat. Ubuntu: cat. GNU coreutils: head invocation. Official pages only. For the login, see SSH from the couch. For listing names, see see what's in a leftover-box folder. For changing a line, see edit a leftover-box file from the couch. For the leftover box's system journal, see when something broke, look at the leftover-box log.