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

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

See where a leftover-box command lives

After SSH works, ask where a leftover-box command lives with command -v so you know if nano or python is installed before you chase a missing package. You do not need a software store for this.

Reuse a leftover-box command you already typed flips back through lines you already ran. Tonight you only need one answer: is this tool on the leftover box, and where? command -v prints the leftover-box path for a name you type. Blank output means it is not there. You are still only looking. The leftover box does not need a desktop, a software store, or a new mini PC 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 the names in a folder, that is see what's in a leftover-box folder. If you only need to reuse a line you typed earlier, that is reuse a leftover-box command you already typed. 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

command -v means "command, verbose path." You can keep calling it "where does this live." You ask the leftover box for one short name. If that name is a real leftover-box program, it prints the full path, something like /usr/bin/nano. If the name is missing, the window stays blank and the leftover box exits unhappy. That blank line is the useful answer. It is not a package install. It is not a search of every file. That is find a leftover-box file by name. One name, one path, or nothing.

Ask where a practice command lives

SSH in. Pick a leftover-box tool you already used. ls is a safe first try:

command -v ls

You want a path, usually /usr/bin/ls or /bin/ls. That means the leftover box already has it.

Try the editor next:

command -v nano

A path means edit a leftover-box file from the couch can open. A blank window means nano is not installed yet. Install only that one tool if you need it:

sudo apt install nano

Then ask again. You want a path this time.

Try a name that is probably missing, so you see the blank case:

command -v this-is-not-a-real-tool

You want a blank window. That is the whole first-night trick: path means go, blank means stop and install (or pick a different tool).

Useful extras, still looking only

Need several names in one go?

command -v ls nano python3

Each name that exists prints its path on its own line. Missing names stay quiet. That is enough to see which of three tools are already on the leftover box.

Some guides still say which. It often works the same way:

which nano

Prefer command -v on night one. It is built into the leftover-box shell, so you are not depending on an extra package. If which itself is missing, that is not a reason to buy anything. Stick with command -v.

If the leftover box says command not found for everyday tools like ls or cp, install the usual tools, then try again:

sudo apt install coreutils

Debian and Ubuntu Server usually already have them. That install is not a reason to buy a software store.

When you are done looking, you do not need to delete anything. This note only prints paths.

What this is not

This is not a search for a leftover-box file by name. That is find a leftover-box file by name. It is not a dump of a file. That is read a leftover-box file without opening the editor. It is not a list of leftover-box folders. That is see what's in a leftover-box folder. It is not installing a package store or a "software center." One missing tool is sudo apt install for that one name. It is not a house share other computers browse. That is a folder the house can open.

What next

Need the short cheat sheet for a tool you found? Ask a leftover-box command what it does. Need the editor and it was missing? Install nano, then edit a leftover-box file from the couch. Need a short line without the editor? Put a short line into a leftover-box file. Need names in a folder again? See what's in a leftover-box folder. Need a leftover-box shortcut? Make a leftover-box shortcut. Need to flip back through lines you already typed? Reuse a leftover-box command you already typed. 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

Sources

POSIX: command. Debian: bash (see command built-in). Ubuntu: bash. Official pages only. For the login, see SSH from the couch. For the editor, see edit a leftover-box file from the couch. For finding a file by name, see find a leftover-box file by name. For reusing a typed line, see reuse a leftover-box command you already typed.

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. Reuse a leftover-box command you already typedAfter SSH works, flip back through commands with the Up arrow or history. You do not need a notebook for the same long line twice. Edit a leftover-box file from the couchAfter SSH works, open a leftover-box file with nano, change a line, and save. The keys at the bottom of the screen are the whole trick. You do not need a new editor. Find a leftover-box file by nameAfter SSH works, search the leftover box for a file by name with find so you do not have to open every folder. You do not need a file manager app for this. See what's in a leftover-box folderAfter SSH works, list the leftover-box folder you are sitting in with ls. You do not need a file manager app for this. Make a leftover-box shortcutAfter SSH works, make a leftover-box shortcut with ln -s so a second name points at the same file. You do not need a file manager app 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. 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.