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

Written 29 Aug 2026. This is a how-to, not a product card.

Read a file one screen at a time

After SSH works, open a file with less so a long file does not flood the window. Space turns the page. q leaves. You don't need a file viewer for this.

Read a file without opening the editor prints the whole file at once. That is fine for a short note. A long file fills the SSH window and keeps going. less shows one screen, then waits. You are still only looking. It 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 prompt. If the file is short, that is read a file without opening the editor. If you want to change a line, that is edit a file from the couch. If a house job broke and you need the computer's own diary, that is when something broke, look at the 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 computer, 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 computer's system journal. That is when something broke, look at the log. One path, same computer, 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 computer 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 file that is safe to practice on:

less /etc/services

That list is long and already on Debian and Ubuntu. You are only looking. Don't edit it.

Turn the page, then leave

While less is open:

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 you see 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 file from the couch. It is not a dump of the whole file. That is read a file without opening the editor. It is not the computer's system journal. That is when something broke, look at the log. It is not a list of names. That is see what's in a 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 file without opening the editor. Need the names first? See what's in a folder. Forgot which folder holds the file? Find a file by name. Need to change a line? Edit a file from the couch. Need a spare before you edit? Copy a file without leaving the computer. Need the throwaway gone for real? Delete a file carefully. Need a file from the laptop instead? Copy a file to the computer from your laptop. Tired of retyping the same long line? Reuse a command you already typed. When key login is boring on every computer you use, turn off password login once the key works. Keep SSH on the house network: keep the computer on the house network. Don't forward port 22.

Skip

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 file without opening the editor. For changing a line, see edit a file from the couch. For the computer's system journal, see when something broke, look at the log.

Also on this topic

SSH from the couchType commands on the computer from your laptop, on the house network. Password login first. Don't open this to the internet. Read a file without opening the editorAfter SSH works, print a file with cat so you can read it without opening nano. Short files only. You don't need a file viewer for this. Send output into another commandAfter SSH works, send output into another command with | so a long dump does not flood the window. You don't need a file manager for this. Find a word in a fileAfter SSH works, search a file with grep so you see only the matching lines. You don't need a file viewer for this. Find a file by nameAfter SSH works, search the computer for a file by name with find so you don't have to open every folder. You don't need a file manager for this. See what's in a folderAfter SSH works, list the folder you are sitting in with ls. You don't need a file manager for this. Edit a file from the couchAfter SSH works, open a file with nano, change a line, and save. The keys at the bottom of the screen are the whole trick. You don't need a new editor. Copy a file without leaving the computerAfter SSH works, copy a file with cp so you can edit a spare without wrecking the original. You don't need a NAS for this. Delete a file carefullyAfter SSH works, delete one file with rm -i. Ask first. Skip rm -rf. You don't need a NAS for this. Copy a file to the computer from your laptopAfter SSH works, use scp to move one file without a USB stick. You don't need a NAS for this. When something broke, look at the logSSH works, but a house job doesn't. Read the program's recent log before you buy a monitoring box. See which laptop keys the computer already trustsBefore you turn off password login, look at which laptop keys can already get in. Remove leftovers from an old Marketplace box. You don't need a YubiKey for this. Turn off password login once the key worksAfter the laptop key login is boring, tell SSH to stop accepting the password. The key is how you get in. A keyboard on the computer is the backup now.