NUMFMT(1) NUMFMT(1) numfmt - / numfmt []... []... () . . --debug -d, --delimiter=X X --field= (=1) --format= printf --from= 'none' --from-unit=N ( 1) --grouping 1,000,000. C/POSIX --header[=N] ( ) N N 1 --invalid= : abort () fail warn ignore --padding=N N N N N --round= METHOD METHOD: up, down, from-zero (), towards-zero, nearest --suffix=SUFFIX SUFFIX SUFFIX --unit-separator=SEP SEP SEP --to=UNIT UNITs UNIT --to-unit=N ( 1 ) -z, --zero-terminated NUL --help --version UNIT: none auto /: 1K = 1000, 1k = 1000, 1Ki = 1024, 1M = 1000000, 1Mi = 1048576, si : 1k = 1000, 1K = 1000, 1M = 1000000, ... iec : 1K = 1024, 1k = 1024, 1M = 1048576, ... iec-i : 1Ki = 1024, 1ki = 1024, 1Mi = 1048576, ... FIELDS cut(1): N N 1 N- N N-M N M () -M M () - / FORMAT '%f'. (%'f) --grouping ( ). (%10f) . (%010f) . (%-10f) . (%.1f) . 0 . numfmt 2. --invalid='fail' 2. --invalid='warn' 0. --invalid='ignore' 0. $ numfmt --to=si 1000 -> "1.0k" $ numfmt --to=iec 2048 -> "2.0K" $ numfmt --to=iec-i 4096 -> "4.0Ki" $ echo 1K | numfmt --from=si -> "1000" $ echo 1K | numfmt --from=iec -> "1024" $ df -B1 | numfmt --header --field 2-4 --to=si $ ls -l | numfmt --header --field 5 --to=iec $ ls -lh | numfmt --header --field 5 --from=iec --padding=10 $ ls -lh | numfmt --header --field 5 --from=iec --format %10f . : bug-coreutils@gnu.org GNU coreutils : : (C) 2026 (Free Software Foundation, Inc.). GPLv3+: GNU GPL 3 . . : . . : info '(coreutils) numfmt invocation' 3 . . : . GNU coreutils 9.11 2026 NUMFMT(1)