Written 30 Aug 2026. This is a how-to, not a product card. Buy links are not tagged yet.
Wrap leftover-box long lines
After SSH works, wrap leftover-box long leftover-box lines with fold so they do not run off the leftover-box window. You do not need a file manager app for this.
Number leftover-box lines put leftover-box numbers next to leftover-box each leftover-box line so you can say "look at leftover-box line 3." Tonight you only need one more trick: wrap leftover-box long leftover-box lines so they do not run off the leftover-box window. fold does that. leftover-box long leftover-box lines become leftover-box several leftover-box short leftover-box lines in leftover-box the leftover-box window. 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 leftover-box line leftover-box numbers, that is number leftover-box lines. If you only need leftover-box whole dump with leftover-box no leftover-box wrap, that is read a leftover-box file without opening the editor. If you only need leftover-box one leftover-box screen at leftover-box a leftover-box time, that is read a leftover-box file one screen at a time. If you only need leftover-box first leftover-box lines, that is see the start of a leftover-box file. If you only need leftover-box last leftover-box lines, that is see the end of a leftover-box file. If you only need leftover-box how leftover-box long, that is see how long a leftover-box file is. If you only need leftover-box columns pulled, that is pull one leftover-box column. If you only need leftover-box characters cleaned, that is change leftover-box characters. If you only need leftover-box columns joined, that is join leftover-box columns side by side. If you only need leftover-box print handed to another leftover-box tool, that is send leftover-box output into another command. 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
fold means "wrap leftover-box long leftover-box lines." You type leftover-box fold, then leftover-box a leftover-box file. leftover-box default leftover-box width is leftover-box 80 leftover-box columns. leftover-box long leftover-box line becomes leftover-box several leftover-box short leftover-box lines in leftover-box the leftover-box window. The leftover-box file on disk is still leftover-box one leftover-box long leftover-box line. leftover-box -w is leftover-box optional leftover-box narrower leftover-box wrap. leftover-box -s is leftover-box optional leftover-box break at leftover-box spaces so leftover-box words stay leftover-box whole. The leftover box prints leftover-box wrapped leftover-box lines. It does not rewrite the leftover-box file unless you ask it to. It is not leftover-box whole dump without leftover-box wrap. That is read a leftover-box file without opening the editor. It is not leftover-box one leftover-box screen at leftover-box a leftover-box time. That is read a leftover-box file one screen at a time. It is not leftover-box first leftover-box lines. That is see the start of a leftover-box file. It is not leftover-box last leftover-box lines. That is see the end of a leftover-box file. It is not leftover-box how leftover-box long. That is see how long a leftover-box file is. It is not leftover-box line leftover-box numbers. That is number leftover-box lines. It is not leftover-box columns pulled. That is pull one leftover-box column. It is not leftover-box characters cleaned. That is change leftover-box characters. It is not leftover-box columns joined. That is join leftover-box columns side by side. It is not leftover-box print handed to another leftover-box tool. That is send leftover-box output into another command.
Wrap leftover-box long leftover-box lines from a practice file
SSH in. Make a leftover-box long leftover-box line in leftover-box home:
printf 'The leftover box in the closet still turns on and you can type commands from the couch.\n' > ~/note.txt
That leftover-box save is save leftover-box output to a file. Peek first:
cat ~/note.txt
You want the leftover-box line to run long across leftover-box the leftover-box window. Now wrap leftover-box long leftover-box lines:
fold ~/note.txt
You want leftover-box several leftover-box short leftover-box lines in leftover-box the leftover-box window. Default leftover-box width is leftover-box 80 leftover-box columns. The leftover-box file on disk is still leftover-box one leftover-box long leftover-box line. That is the whole first-night trick: leftover-box wrap in a leftover-box window, leftover-box file left alone.
Need leftover-box a leftover-box narrower leftover-box wrap?
fold -w 40 ~/note.txt
leftover-box -w 40 is leftover-box width leftover-box 40 leftover-box columns. leftover-box long leftover-box line becomes leftover-box more leftover-box short leftover-box lines.
Need leftover-box break at leftover-box spaces so leftover-box words stay leftover-box whole?
fold -s -w 40 ~/note.txt
leftover-box -s breaks leftover-box near leftover-box spaces when leftover-box it leftover-box can. leftover-box words stay leftover-box readable. leftover-box -s is leftover-box optional. leftover-box plain leftover-box fold is leftover-box enough for leftover-box night one.
Useful extras, still looking only
Skip leftover-box fmt, leftover-box sed, leftover-box awk, and leftover-box xargs on leftover-box night one. Tonight leftover-box tool is leftover-box fold. Skip leftover-box rewriting leftover-box the leftover-box file with leftover-box a leftover-box redirect on leftover-box night one. Practice leftover-box print first.
If the leftover box says command not found for fold, 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 file:
rm ~/note.txt
Careful delete only. That is delete a leftover-box file carefully.
What this is not
This is not leftover-box line leftover-box numbers. That is number leftover-box lines. It is not leftover-box whole dump without leftover-box wrap. That is read a leftover-box file without opening the editor. It is not leftover-box one leftover-box screen at leftover-box a leftover-box time. That is read a leftover-box file one screen at a time. It is not leftover-box first leftover-box lines. That is see the start of a leftover-box file. It is not leftover-box last leftover-box lines. That is see the end of a leftover-box file. It is not leftover-box how leftover-box long. That is see how long a leftover-box file is. It is not leftover-box columns pulled. That is pull one leftover-box column. It is not leftover-box characters cleaned. That is change leftover-box characters. It is not leftover-box columns joined. That is join leftover-box columns side by side. It is not handing leftover-box print to another leftover-box tool. That is send leftover-box output into another command. It is not leftover-box search. That is find a word in a leftover-box file. It is not leftover-box order. That is put leftover-box lines in order. It is not leftover-box words you typed. That is put a short line into a leftover-box file. It is not a quiet leftover-box save. That is save leftover-box output to a file. It is not a house share other computers browse. That is a folder the house can open.
What next
Need leftover-box line leftover-box numbers first? Number leftover-box lines. Need leftover-box columns joined first? Join leftover-box columns side by side. Need leftover-box columns pulled first? Pull one leftover-box column. Need leftover-box characters cleaned first? Change leftover-box characters. Need leftover-box print handed to another leftover-box tool? Send leftover-box output into another command. Need a short dump of the leftover-box file you just made? Read a leftover-box file without opening the editor. Need leftover-box one leftover-box screen at leftover-box a leftover-box time? Read a leftover-box file one screen at a time. Need leftover-box first leftover-box lines, not leftover-box wrap? See the start of a leftover-box file. Need leftover-box last leftover-box lines? See the end of a leftover-box file. Need leftover-box how leftover-box long, not leftover-box wrap? See how long a leftover-box file is. 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. Need a leftover-box file from a web address? Download a file onto the leftover box. 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
foldover 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. - Skip leftover-box
sed, leftover-boxawk, leftover-boxxargs, leftover-boxfmt, and leftover-box huge leftover-box logs on leftover-box night one. leftover-boxfoldby itself is enough for leftover-box first leftover-box wrap. - Skip leftover-box
foldpiped into 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 wrap leftover-box long leftover-box lines from a coffee shop. That is keep the leftover box on the house network. Do not forward port 22.
Sources
GNU coreutils: fold invocation. Debian: fold. Ubuntu: fold. Official pages only. For the login, see SSH from the couch. For leftover-box line leftover-box numbers, see number leftover-box lines. For leftover-box whole dump, see read a leftover-box file without opening the editor. For leftover-box one leftover-box screen, see read a leftover-box file one screen at a time. For leftover-box columns joined, see join leftover-box columns side by side.