Written 30 Aug 2026. This is a how-to, not a product card. Buy links are not tagged yet.
Put leftover-box lines in order
After SSH works, put leftover-box lines in order with sort so a mixed list is easier to scan. You do not need a file manager app for this.
Send leftover-box output into another command handed leftover-box print to a second leftover-box tool. Watch and save leftover-box output at once kept a leftover-box copy while you watched. Tonight you only need one more trick: put leftover-box lines in A-to-Z order so a mixed leftover-box list is easier to scan. sort does that. You are still only looking. The leftover box does not need a desktop, a file manager, 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 to hand leftover-box print to another leftover-box tool, that is send leftover-box output into another command. If you only need leftover-box print on screen and in a leftover-box file, that is watch and save leftover-box output at once. If you only need leftover-box words you typed, that is put a short line into a leftover-box file. 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
sort means "put leftover-box lines in order." You type sort and a leftover-box file, or you hand leftover-box print to sort with the leftover-box bar from send leftover-box output into another command. The leftover box prints the same leftover-box lines, A to Z. It does not rewrite the leftover-box file unless you ask it to. It is not leftover-box search. That is find a word in a leftover-box file. It is not leftover-box compare. That is see whether two leftover-box files are the same.
Sort a leftover-box practice list
SSH in. Make a tiny leftover-box list that is not already in order:
printf 'pear\napple\nbanana\napple\n' > ~/fruit.txt
That leftover-box save is save leftover-box output to a file. Peek first:
cat ~/fruit.txt
You want pear, then apple, then banana, then apple again. Now put those leftover-box lines in order:
sort ~/fruit.txt
You want apple, apple, banana, pear. The leftover-box file on disk is still the mixed leftover-box list. sort only printed. That is the whole first-night trick: leftover-box lines in a leftover-box window, in A-to-Z order, leftover-box file left alone.
Need that leftover-box order on a leftover-box copy you can keep?
sort ~/fruit.txt | tee ~/fruit-sorted.txt
You want the same A-to-Z leftover-box lines on screen. Then:
cat ~/fruit-sorted.txt
You want apple, apple, banana, pear again. That leftover-box copy is watch and save leftover-box output at once. The mixed leftover-box file is still ~/fruit.txt.
Useful extras, still looking only
Need the leftover-box list Z to A?
sort -r ~/fruit.txt
You want pear, banana, apple, apple. -r means reverse.
Need leftover-box numbers in counting order, not dictionary order?
printf '10\n2\n1\n' > ~/nums.txt
sort ~/nums.txt
You want 1, then 10, then 2. That is leftover-box dictionary order: leftover-box 10 starts with 1, so it sits next to leftover-box 1. Counting order uses -n:
sort -n ~/nums.txt
You want 1, then 2, then 10. Use leftover-box -n when the leftover-box lines are leftover-box numbers, not leftover-box words.
Need leftover-box folder names in leftover-box order, without a leftover-box file in the middle?
ls | sort
You want the leftover-box names A to Z. That leftover-box bar is send leftover-box output into another command.
If the leftover box says command not found for sort or printf, 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 file manager.
When you are done looking, throw away the leftover-box practice files:
rm ~/fruit.txt ~/fruit-sorted.txt ~/nums.txt
Careful delete only. That is delete a leftover-box file carefully.
What this is not
This is not handing leftover-box print to another leftover-box tool without leftover-box order. That is send leftover-box output into another command. 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 leftover-box words you typed. That is put a short line into a leftover-box file. It is not leftover-box search. That is find a word in a leftover-box file. It is not leftover-box compare. That is see whether two leftover-box files are the same. It is not a house share other computers browse. That is a folder the house can open.
What next
Need each leftover-box line only once? Drop leftover-box duplicate lines. Need leftover-box print handed to another leftover-box tool? Send leftover-box output into another command. Need leftover-box print on screen and in a leftover-box file? Watch and save leftover-box output at once. Need a quiet leftover-box save with no leftover-box print in the window? Save leftover-box output to a file. Need leftover-box words you typed? Put a short line into a leftover-box file. Need a short dump of the leftover-box file you just sorted? Read a leftover-box file without opening the editor. Need only matching leftover-box lines first? Find a word in a leftover-box file. Need the leftover-box throwaway gone for real? Delete a leftover-box file carefully. 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
- Skip if SSH still fails. Finish SSH from the couch first.
- Skip leftover-box
sort -oover leftover-box files you care about, leftover-box paths under/etc, and leftover-box SSH settings. Practice only leftover-box files you just made in home. Leftover-boxsortwithout a leftover-box copy leaves the leftover-box file mixed. - Skip leftover-box
sort -u, leftover-boxcut, leftover-boxawk, and leftover-boxxargson night one. Duplicate leftover-box apple lines staying in leftover-box order is enough for the first look. Drop leftover-box copies next: drop leftover-box duplicate lines. - Skip leftover-box locale flags, leftover-box huge leftover-box logs, and leftover-box
sortinto leftover-boxrm. Practice leftover-box tools that print, then leftover-box peek with leftover-boxcat. - Skip leftover-box SSH settings,
/etc/shadow, and anything under/etc/ssh. Looking at trusted laptop keys is see which laptop keys the leftover box already trusts. - Skip opening leftover-box SSH to the internet so you can sort leftover-box lines from a coffee shop. That is keep the leftover box on the house network.
Sources
GNU coreutils: sort invocation. Debian: sort. Ubuntu: sort. Official pages only. For the login, see SSH from the couch. For handing leftover-box print to another leftover-box command, see send leftover-box output into another command. For watching leftover-box print while you save a leftover-box copy, see watch and save leftover-box output at once. For leftover-box words you typed, see put a short line into a leftover-box file.