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.

Delete a leftover-box file carefully

After SSH works, delete one leftover-box file with rm -i. The leftover box asks before it goes. Skip rm -rf. You do not need a NAS for this.

Rename or move a leftover-box file keeps the bytes under a new name. Tonight the throwaway practice file can go away for real. rm is remove. One file, home folder, ask first. Useful after copy a leftover-box file without leaving the box left a spare you no longer want. The leftover box does not need a trash can app, a desktop, 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 want the file under a better name and still on disk, that is rename or move a leftover-box file. If you want a second copy and the original to stay, that is copy a leftover-box file without leaving the box. If the file is still only on the laptop, that is copy a file to the leftover box from your laptop. 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

rm deletes a leftover-box file. You run it on the leftover box, after SSH. The name is gone. There is no Recycle Bin on a typical leftover-box server. That is why tonight we type rm -i. The -i means ask. It does not rename. That is mv. It does not leave a spare. That is cp. It does not talk to the laptop. That is scp. One path, same leftover box, file gone.

Make a throwaway, then delete it

SSH in. Make a practice file in home if you do not already have one:

echo 'delete me' > ~/delete-me.txt

See that it is there:

ls ~/delete-me.txt

Then ask before delete:

rm -i ~/delete-me.txt

The leftover box should ask something like remove regular file. Type y and Enter if that is the file you meant. Type n if it is not. Swap the name for yours. Practice in home. Skip anything under / or /etc.

See that it is gone

List home:

ls ~

You do not want delete-me.txt any more. Optional exact check:

ls ~/delete-me.txt

You want “No such file or directory.” That is success. The leftover box removed the file. It did not hide it in a trash folder.

Optional: one empty folder

Empty folders are a different tool. If you made a practice folder with make a leftover-box folder and it is empty:

rmdir ~/notes-practice

rmdir only works when the folder has nothing inside. If it complains the directory is not empty, list it with see what's in a leftover-box folder, move or delete the files first, then try again. Skip rm -rf. That flag can wipe a whole tree with no useful undo, and it is not tonight’s job.

What this is not

This is not a rename that keeps the bytes. That is rename or move a leftover-box file. It is not a second copy. That is copy a leftover-box file without leaving the box. It is not a file from the laptop. That is copy a file to the leftover box from your laptop. It is not emptying the disk of old logs. That is clear old leftover-box logs when the disk is tight. It is not a checked backup. That is a backup of the leftover-box folder.

What next

Need a spare before you delete? Copy a leftover-box file without leaving the box. Need the name to change instead? Rename or move a leftover-box file. Need the names again? See what's in a leftover-box folder. Need a folder for practice files? Make a leftover-box folder. Need to read a file without opening the editor? Read a leftover-box file without opening the editor. Need to change a line first? Edit a leftover-box file from the couch. 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

Sources

GNU coreutils: rm invocation. Debian: rm. Ubuntu: rm. GNU coreutils: rmdir invocation. Official pages only. For the login, see SSH from the couch. For a rename that keeps the file, see rename or move a leftover-box file. For a spare that keeps the original, see copy a leftover-box file without leaving the box. For listing names, see see what's in a leftover-box folder. For making a folder, see make a leftover-box folder.

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. Rename or move a leftover-box fileAfter SSH works, rename or move a leftover-box file with mv so the name matches the job. The old name is gone. You do not need a NAS for this. Copy a leftover-box file without leaving the boxAfter SSH works, copy a leftover-box file with cp so you can edit a spare without wrecking the original. You do not need a NAS for this. 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. 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. Copy a file to the leftover box from your laptopAfter SSH works, use scp to move one file without a USB stick. A short leftover name makes the typing shorter. You do not need a NAS 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. 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. See if the leftover box still has roomAfter the house folder is working, check that the leftover box is not filling up. Photos stop copying when the disk is full. You do not need a NAS for this look. 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.