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.

Make a leftover-box file runnable

After SSH works, change leftover-box file permissions with chmod so a practice script can run. You do not need a permissions GUI for this.

Put a short line into a leftover-box file parks words on disk. See what's in a leftover-box folder can show the permission letters. Tonight you only need those letters to mean “this file may run.” chmod changes who can read, write, or run a leftover-box file. You are still only practicing in home. The leftover box does not need a desktop, a permissions GUI, 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 short line on disk, that is put a short line into a leftover-box file. If you only need the names and sizes, that is see what's in a leftover-box folder. 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

chmod means change mode. It changes the leftover-box permission bits on a file you own. You run it on the leftover box, after SSH. It does not write the file's words. That is echo or nano. It does not change who owns the file. That owner job is a different tool, and you do not need it tonight. It does not open a permissions window. One short command, same leftover box, the run bit flipped on or off.

When ls -l prints a line, the first column looks like -rw-rw-r--. Those letters are read, write, and execute for you, for your group, and for everyone else. An x in that column means “may run.” A dash where the x would be means “may not.” That is the whole first-night story.

Make a practice script runnable

SSH in. Put one short practice script in home. A short name with no spaces is easier to type later:

echo '#!/bin/sh' > ~/hello.sh

echo 'echo hello from the leftover box' >> ~/hello.sh

The first line tells the leftover box this file is a shell script. The second line is the one short job. Peek:

cat ~/hello.sh

See the permission letters before you change them:

ls -l ~/hello.sh

You will usually see something like -rw-rw-r-- and no x. Trying to run it as a program fails until you flip that bit:

chmod +x ~/hello.sh

ls -l ~/hello.sh

You want an x in the first group of letters now, often -rwxrwxr-x or similar. Then run it by path:

~/hello.sh

You should see hello from the leftover box. That is the whole first-night trick.

Useful extras, still practicing only

Need the run bit off again after you practice?

chmod -x ~/hello.sh

ls -l ~/hello.sh

The x should be gone. The words inside the file are still there.

Need a private note that only you can read? Practice on a throwaway file, not on SSH settings:

echo 'practice secret' > ~/private.txt

chmod 600 ~/private.txt

ls -l ~/private.txt

You want something like -rw-------. The number 600 is a short form: you may read and write, nobody else may. Skip deeper number puzzles tonight. chmod +x and chmod 600 are enough for a first leftover box.

If the leftover box says command not found, install the usual tools, then try again:

sudo apt install coreutils

Debian and Ubuntu Server usually already have it. That install is not a reason to buy a permissions GUI.

When you are done practicing:

rm -i ~/hello.sh ~/private.txt

What this is not

This is not writing the words inside the file. That is put a short line into a leftover-box file or edit a leftover-box file from the couch. It is not listing names. That is see what's in a leftover-box folder. It is not changing who owns the file. Skip owner changes tonight. It is not turning off leftover-box password login. That is turn off leftover-box password login once the key works. It is not a house share other computers browse. That is a folder the house can open.

What next

Need a short line before the script exists? Put a short line into a leftover-box file. Need several lines in the editor? Edit a leftover-box file from the couch. Need the names and letters again? See what's in a leftover-box folder. Need a second name that still points at the same file? Make a leftover-box shortcut. Need a folder for scripts to land in? Make a leftover-box folder. 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

Sources

Debian: chmod. Ubuntu: chmod. GNU coreutils: chmod. Official pages only. For the login, see SSH from the couch. For a short line, see put a short line into a leftover-box file. For listing letters, see see what's in a leftover-box folder. For the editor, see edit a leftover-box file from the couch.

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. 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. 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. 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. Make a leftover-box folderAfter SSH works, make a leftover-box folder with mkdir so copies and edits have a place to land. You do not need a NAS for this. Make an empty leftover-box fileAfter SSH works, make an empty leftover-box file with touch so nano and copies have a file to land on. You do not need a file manager app for this. Delete a leftover-box file carefullyAfter SSH works, delete one leftover-box file with rm -i. Ask first. Skip rm -rf. You do not need a NAS 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.