FACTOR(1)

๐Ÿ’– FACTOR(1) ๐Ÿ’–

the User Commands chapter of your life where numbers get SHREDDED โœจ


๐ŸŒธ NAME ๐ŸŒธ

factor โ€” bestie, it factors numbers. that's it. that's the whole job. ๐Ÿ‘‘


๐Ÿฆ‹ SYNOPSIS ๐Ÿฆ‹

factor [OPTION] [NUMBER]...

โœจ DESCRIPTION โœจ

Okay so here's the tea ๐Ÿ“ โ€” factor prints the prime factors of every integer NUMBER you hand it. Prime factors are literally the building blocks, the little LEGO bricks every number is made of, and this tool just... tells you what they are. Iconic behaviour, no notes. ๐Ÿ’…

And if you don't give it any *NUMBER*s on the command line? No stress, babe, it just reads them from standard input instead. She's flexible like that. ๐Ÿซถ


๐ŸŽ€ OPTIONS ๐ŸŽ€

  • -h, --exponents โ€” prints repeated factors in the form p^e unless e is 1 ๐Ÿงš so like, if a prime shows up more than once, you get the cute little exponent notation instead of seeing the same number over and over.
  • --help โ€” shows you this help text and then dips out. bye! ๐Ÿ‘‹
  • --version โ€” spits out the version info and exits. she's telling you who she is. main character energy fr fr. โญ

๐Ÿ’œ AUTHOR ๐Ÿ’œ

Written by Paul Rubin, Torbjorn Granlund, and Niels Moller. legends, all three of them. ๐Ÿ‘‘


๐Ÿ™ˆ REPORTING BUGS ๐Ÿ™ˆ

Found a bug? Not a vibe. Tell the devs, bestie:


Copyright ยฉ 2026 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.

This is free software: you are free to change and redistribute it.

There is NO WARRANTY, to the extent permitted by law. ๐Ÿ˜ญ like, none. zero. don't come for her if something breaks, okay?

๐ŸŒˆ SEE ALSO ๐ŸŒˆ


and that's the whole page, bestie!! ๐ŸŽ€ this is GNU coreutils 9.12, from September 2026, and it's FACTOR(1) โ€” go forth and factor, you absolute icon ๐Ÿ’–โœจ

๐Ÿ“ฆ where this page comes from