Written 1 Sep 2026. This is a how-to, not a product card. Buy links are not tagged yet.
Make leftover-box sizes readable with numfmt
After leftover-box du or leftover-box disk-space (or any big leftover-box byte count), use numfmt so a huge number becomes something like 1.4G that a first-timer can read. You do not need extra system software beyond coreutils.
See how big one leftover-box folder is already gives you a size for one path. See if the leftover box still has room shows how full the whole disk is. See which leftover-box folders are eating the disk ranks the heavy folders. Tonight is quieter: take a raw leftover-box byte count and make it human. numfmt reformats numbers. It does not measure the disk. That is still du or df. You are still only practicing in home. The leftover box does not need a NAS, Grafana, or a disk-space app 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 folder's size with a friendly unit already, that is see how big one leftover-box folder is (du -sh). If you only need whole-disk room left, that is see if the leftover box still has room. If you only need which folders eat the disk, that is see which leftover-box folders are eating the disk. 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
numfmt reformats numbers so humans can read them. On night one that means: you hand it a big leftover-box byte count, and it prints something like 1.4G. --to=iec uses binary-ish units people expect on disks (powers of 1024: K, M, G). Optional --to=si uses powers of 1000 instead. Optional --field= picks a column when the line has more than one number. It does not measure disk itself. It does not rewrite files. It does not decide which folder is biggest. Those jobs already have their own notes.
Practice numfmt in home
SSH in. Make sure home is where you are sitting:
pwd
You want a path that ends in your login name. If not:
cd ~
Standalone (night one job). Paste a big leftover-box byte count:
numfmt --to=iec 1500000000
You want something like 1.4G, then the prompt back. That is enough for tonight: a huge number became readable.
Optional SI units (powers of 1000):
numfmt --to=si 1500000000
You may see 1.5G instead. Fine. Do not make unit school the whole lesson. IEC is the usual leftover-box habit for disk sizes.
Optional with leftover-box du bytes (gentle — home only). On Debian and Ubuntu this works:
du -sb ~ | numfmt --to=iec --field=1
If your leftover box does not like -sb, the same idea with an explicit block size:
du -s --block-size=1 ~ | numfmt --to=iec --field=1
Or skip piping entirely and paste a number like the standalone line above. Keep it gentle. Do not make a whole-disk inventory tonight's job.
Optional from a tiny file of leftover-box numbers:
printf '1024\n1048576\n' > ~/numfmt-a.txt
Then:
numfmt --to=iec < ~/numfmt-a.txt
You want lines like 1.0K and 1.0M, then the prompt back.
Debian and Ubuntu already ship numfmt in coreutils. Do not make apt the lesson. No install page tonight.
When you are done practicing:
rm -i ~/numfmt-a.txt
Ask first. Say yes only if the name matches. That careful delete is delete a leftover-box file carefully. Skip rm -rf.
Useful extras, still home-safe
Skip rewriting disks, wiping USB sticks, or using numfmt as a reason to buy a NAS. Night one is readable leftover-box numbers in home.
Skip piping numfmt into rm. Numfmt reformats. Rm deletes. Do not mix those jobs.
Skip huge whole-disk inventories as the job. Measuring one folder is du. Whole-disk room is disk-space. Ranking heavy folders is largest-folders.
Skip awk, sed, and install as new pages this cycle. Printable text without a full dump stays on strings. A full byte peek stays on od.
Skip dd, shred, screen, tmux, port 22 forwarding, apt as the lesson, htop, Grafana, and a NAS. Keep SSH on the house network: keep the leftover box on the house network. Do not forward port 22.
Skip leftover-box-awk, leftover-box-sed, and leftover-box-install this cycle.
What this is not
This is not leftover-box du. That measures one path: see how big one leftover-box folder is. It is not leftover-box disk-space (df). That shows whole-disk room: see if the leftover box still has room. It is not leftover-box disk. That is how big the leftover box disk already is: see how big the leftover box disk already is. It is not leftover-box largest-folders. That ranks heavy folders: see which leftover-box folders are eating the disk. It is not leftover-box strings. That shows printable text: see printable leftover-box text with strings. It is not leftover-box od. That peeks at bytes: peek at leftover-box file bytes. It is not leftover-box rm. That removes the name: delete a leftover-box file carefully. It is not awk or sed as tonight's job. It is not an install page. It is not opening SSH to the internet so you can reformat sizes from a coffee shop. That is keep the leftover box on the house network. Do not forward port 22.
What next
Need one folder's size first? See how big one leftover-box folder is. Need whole-disk room left? See if the leftover box still has room. Need which disks and USB sticks are attached? See disks and USB sticks on the leftover box. Need which folders eat the disk? See which leftover-box folders are eating the disk. Need printable leftover-box text without a full dump? See printable leftover-box text with strings. Need a full byte peek? Peek at leftover-box file bytes. Need the throwaway gone? Delete a leftover-box file carefully. 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. Leftover-box-install, leftover-box-awk, and leftover-box-sed stay deferred this cycle.
Skip
- Skip if SSH still fails. Finish SSH from the couch first.
- Skip
du, disk-space, or largest-folders as tonight's job if you only came to reformat a leftover-box number. Those notes already exist. - Skip rewriting disks, piping
numfmtintorm, and using numfmt as an excuse to buy a NAS. - Skip huge whole-disk inventories as the job. Home practice only.
- Skip
awk/sed/install as new pages this cycle,dd/shred,screen,tmux, apt as the lesson, htop, Grafana, and a NAS. - Skip leftover-box-awk, leftover-box-sed, and leftover-box-install this cycle.
- Skip
rm -rf. Careful delete only: delete a leftover-box file carefully. - Skip opening SSH to the internet. That is keep the leftover box on the house network. Do not forward port 22.
Sources
Debian: numfmt(1). Ubuntu: numfmt(1). GNU coreutils: numfmt. Official pages only. For one folder's size, see see how big one leftover-box folder is. For whole-disk room, see see if the leftover box still has room. For ranking folders, see see which leftover-box folders are eating the disk. For a careful delete, see delete a leftover-box file carefully. For the login, see SSH from the couch.