Written 29 Aug 2026. This is a how-to, not a product card. Buy links are not tagged yet.
Read a leftover-box file one screen at a time
After SSH works, open a leftover-box file with less so a long file does not flood the window. Space turns the page. q leaves. You do not need a file viewer app for this.
Read a leftover-box file without opening the editor prints the whole file at once. That is fine for a short note. A long leftover-box file fills the SSH window and keeps going. less shows one screen, then waits. You are still only looking. The leftover box does not need a desktop, a file viewer, 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 the file is short, 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. If a house job broke and you need the leftover box's own diary, 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
less is a pager. You run it on the leftover box, after SSH. The file stays on disk. You are only looking. It does not print everything at once. That is cat. It does not open an editor. That is nano. 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, one screen at a time.
Open a file that is longer than the window
SSH in. Make a throwaway file that is long enough to page:
seq 1 80 > ~/lines.txt
Then open it:
less ~/lines.txt
The leftover box takes over the SSH window. You see the first screen of numbers, and a colon at the bottom. That colon means less is waiting. You are still in the file. You have not left SSH.
A real leftover-box file that is safe to practice on:
less /etc/services
That list is long and already on Debian and Ubuntu. You are only looking. Do not edit it.
Turn the page, then leave
While less is open:
- Space turns the next page.
bgoes back one page.qleaves and gives you the leftover-box prompt back.
That is the whole first-night trick. Optional search: type /, then a word, then Enter. n jumps to the next match. q still leaves. If you forget the keys, h opens a help screen. q leaves that too.
If the leftover box says command not found, install the pager, then try again:
sudo apt install less
Debian and Ubuntu Server usually already have it. That install is not a reason to buy a file viewer.
What this is not
This is not an editor. That is edit a leftover-box file from the couch. It is not a dump of the whole file. That is read a leftover-box file without opening the editor. It is not the leftover box's system journal. That is when something broke, look at the leftover-box log. It is not a list of names. That is see what's in a leftover-box folder. It is not a house share other computers browse. That is a folder the house can open.
What next
Need a short file printed all at once? Read a leftover-box file without opening the editor. Need the names first? See what's in a leftover-box folder. Forgot which folder holds the file? Find a leftover-box file by name. 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 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
caton a file that never stops. That dump is read a leftover-box file without opening the editor, and it is the wrong tool for a long file. - Skip
nanoif you only want to look. That tool is for changing a line. - Skip
lesson photos, zip files, or leftover-box programs. Those print junk. A text file is the job. - 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
less home (Greenwood Software). Debian: less. Ubuntu: less. Official pages only. Space pages forward, b pages back, q quits. For the login, see SSH from the couch. For a short dump, see read a leftover-box file without opening the editor. 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.