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

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

Run one leftover-box command per leftover-box line

After SSH works, run one leftover-box command once per leftover-box line with xargs so a leftover-box list drives many short leftover-box jobs. You do not need a scripting app for this.

Shrink one leftover-box file shrank one leftover-box file. Hand leftover-box output to the next leftover-box tool handed leftover-box print once. Tonight a leftover-box list drives many leftover-box runs. xargs means leftover-box run-once-per-line: each leftover-box word from a leftover-box list becomes an argument to one leftover-box command. You are still only practicing in leftover-box home. The leftover box does not need a scripting 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 only need one leftover-box handoff between two leftover-box tools, that is hand leftover-box output to the next leftover-box tool. If you only need leftover-box shrink for one leftover-box file, that is shrink one leftover-box file. If you only need a leftover-box folder packed first, that is pack leftover-box files into one leftover-box archive. Skip this whole note if you only need a house share other computers browse. That is a folder the house can open. Skip if you need a USB copy of the house folder. That is a backup of the leftover-box folder.

What this is

xargs means leftover-box run-once-per-line. You give it a leftover-box list, then a leftover-box command. It runs that leftover-box command once for the leftover-box words on the leftover-box list. It is not one leftover-box handoff between two leftover-box tools. That is hand leftover-box output to the next leftover-box tool. It is not watching leftover-box print while you save a leftover-box copy. That is watch and save leftover-box output at once. It is not parking leftover-box words you typed. That is put a short line into a leftover-box file. It is not leftover-box shrink for one leftover-box file. That is shrink one leftover-box file. It is not leftover-box pack for a leftover-box folder. That is pack leftover-box files into one leftover-box archive. It is not a download. That is download a file onto the leftover box. It is not a copy from your laptop. That is copy a file to the leftover box from your laptop. It is not a leftover-box copy on the box. That is copy a leftover-box file without leaving the box. It is not a careful leftover-box delete. That is delete a leftover-box file carefully. It is not a USB leftover-box backup. That is a backup of the leftover-box folder. It is not a house share other computers browse. That is a folder the house can open.

Practice in leftover-box home

SSH in. Make sure leftover-box home is where you are sitting:

pwd

You want a path that ends in your login name. If not:

cd ~

Make a short leftover-box practice list. Three leftover-box names, one leftover-box line each:

printf 'alpha\nbeta\ngamma\n' > ~/names.txt

Look at the leftover-box list:

cat ~/names.txt

You want leftover-box alpha, leftover-box beta, and leftover-box gamma on three leftover-box lines. Night-one leftover-box path reads the leftover-box list with leftover-box -a, then leftover-box echo:

xargs -a ~/names.txt echo

You want leftover-box alpha beta gamma on one leftover-box line. Leftover-box -a means read this leftover-box file. Leftover-box echo is a safe leftover-box print. Optional leftover-box pipe into leftover-box xargs is the same leftover-box job:

cat ~/names.txt | xargs echo

Night one prefers leftover-box -a so the leftover-box list stays obvious. Optional leftover-box one leftover-box word per leftover-box run:

xargs -a ~/names.txt -n 1 echo

You want three leftover-box lines: leftover-box alpha, then leftover-box beta, then leftover-box gamma. Leftover-box -n 1 means one leftover-box word per leftover-box run. Optional leftover-box placeholder so each leftover-box name lands where you point:

xargs -a ~/names.txt -I{} echo hello-{}

You want leftover-box hello-alpha, leftover-box hello-beta, and leftover-box hello-gamma. Leftover-box -I{} means put each leftover-box word where leftover-box {} sits.

Without a leftover-box list, leftover-box xargs waits for leftover-box lines you type. Type a leftover-box word, Enter, another leftover-box word, then Ctrl-D when you are done:

xargs echo

That leftover-box wait is fine for a leftover-box peek. Night one still prefers a leftover-box list in leftover-box home.

If leftover-box xargs says No such file or directory, you are not in leftover-box home. pwd, then cd ~, then try leftover-box ~/names.txt again.

Useful extras, still leftover-box home only

Need leftover-box file size, date, and permissions on the leftover-box list?

stat ~/names.txt

Need leftover-box xargs to talk while it works?

xargs -a ~/names.txt -t echo

Leftover-box -t prints each leftover-box run before it happens. Looking only.

Skip leftover-box xargs rm, leftover-box xargs -a ... rm, and leftover-box pipes into leftover-box rm. Anything that deletes leftover-box files is not tonight's leftover-box lesson. Careful leftover-box delete is delete a leftover-box file carefully.

Skip leftover-box awk and leftover-box sed as tonight's leftover-box lesson. Name them for later. Skip leftover-box parallel, leftover-box GNU parallel, and leftover-box find -exec as tonight's leftover-box lesson.

If the leftover box says command not found for leftover-box xargs, install findutils, then try again:

sudo apt install findutils

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

When you are done practicing, throw away the leftover-box practice list. Careful delete only. That is delete a leftover-box file carefully:

rm -i ~/names.txt

Skip rm -rf.

What this is not

This is not one leftover-box handoff between two leftover-box tools. That is hand leftover-box output to the next leftover-box tool. It is not watching leftover-box print while you save a leftover-box copy. That is watch and save leftover-box output at once. It is not parking leftover-box words you typed. That is put a short line into a leftover-box file. It is not leftover-box shrink for one leftover-box file. That is shrink one leftover-box file. It is not leftover-box pack for a leftover-box folder. That is pack leftover-box files into one leftover-box archive. It is not a download. That is download a file onto the leftover box. It is not a copy from your laptop. That is copy a file to the leftover box from your laptop. It is not a leftover-box copy on the box. That is copy a leftover-box file without leaving the box. It is not a careful leftover-box delete. That is delete a leftover-box file carefully. It is not a leftover-box folder list. That is see what's in a leftover-box folder. It is not a USB leftover-box backup. That is a backup of the leftover-box folder. It is not a house share other computers browse. That is a folder the house can open. It is not opening SSH to the internet so you can run leftover-box lists from a coffee shop. That is keep the leftover box on the house network.

What next

Need leftover-box shrink first? Shrink one leftover-box file. Need a leftover-box folder packed first? Pack leftover-box files into one leftover-box archive. Need one leftover-box handoff between two leftover-box tools? Hand leftover-box output to the next leftover-box tool. Need leftover-box file size, date, and permissions? See leftover-box file size, date, and permissions. Need a leftover-box download first? Download a file onto the leftover box. Need a leftover-box copy on the box? Copy a leftover-box file without leaving the box. Need one leftover-box file from the laptop instead? Copy a file to the leftover box from your laptop. Need the throwaway gone for real? Delete a leftover-box file carefully. Need a USB leftover-box backup of the house folder? A backup of the leftover-box folder. Need leftover-box encode for paste? Encode a leftover-box file so you can paste it. 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: xargs. Ubuntu: xargs. GNU findutils: Invoking xargs. Official pages only. For the login, see SSH from the couch. For one leftover-box handoff, see hand leftover-box output to the next leftover-box tool.

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. Shrink one leftover-box fileAfter SSH works, shrink one leftover-box file with gzip so a leftover-box copy is smaller. You do not need a zip app for this. Pack leftover-box files into one leftover-box archiveAfter SSH works, pack leftover-box files into one leftover-box archive with tar so you can copy one leftover-box file instead of a leftover-box folder. You do not need a zip app for this. Hand leftover-box output to the next leftover-box toolAfter SSH works, hand leftover-box output to the next leftover-box tool with a pipe so you can look without parking a leftover-box file first. You do not need a scripting app for this. Watch and save leftover-box output at onceAfter SSH works, watch leftover-box print and save a leftover-box copy at once with tee. 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. Download a file onto the leftover boxAfter SSH works, pull one file from a web address with curl so the leftover box has the file without a USB stick. You do not need a browser on the leftover box 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. 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. 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. Encode a leftover-box file so you can paste itAfter SSH works, turn a leftover-box file into pasteable text with base64 so you can copy small leftover-box text without a USB stick. You do not need a zip 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. Keep the leftover box on the house networkSSH and Pi-hole belong on the house network. Skip this if you never opened the router settings. Do not forward port 22.