FACTOR(1)

πŸ’– FACTOR(1) πŸ’–

okay so bestie, this is the factor page from the General Commands Manual β€” yes, the one and only. sit down, grab a boba, we're about to break numbers down to their barest little building blocks 🧚✨


🌸 NAME 🌸

factor β€” Print the prime factors of the given NUMBER(s). If none are specified, read from standard input.


✨ SYNOPSIS ✨

factor [OPTION]... [NUMBER]...

πŸ¦‹ DESCRIPTION πŸ¦‹

Print the prime factors of the given NUMBER(s). If none are specified, read from standard input.

that's it. that's the whole vibe. hand it a number, it hands you back the primes that multiply into it. hand it nothing, and it'll just sit there listening to standard input like the patient queen she is πŸ’…


πŸŽ€ OPTIONS πŸŽ€

  • -h, --exponents β€” Print factors in the form p^e
  • --help β€” Print help information.
  • -V, --version β€” Print version
  • [NUMBER] β€” the number(s) you want factored, bestie. give it one, give it many, give it none and it'll read from stdin instead 🫢

πŸ’œ VERSION πŸ’œ

v(uutils coreutils) 0.12.0

🌈 EXAMPLES 🌈

Display the prime-factorization of a number:

factor number

Take the input from stdin if no argument is specified:

echo number | factor
heads up bestie ⚠️ The examples are provided by the tldr-pages project <https://tldr.sh> under the CC BY 4.0 License. Please note that, as uutils is a work in progress, some examples might fail. not me warning you about work-in-progress code, we love honesty in this house 😭

and that's the whole page, babes πŸ’– this lil beauty landed on 2026-09-25, it lives in factor(1) of the General Commands Manual, and it's brought to you by uutils coreutils v0.12.0 β€” go factor something iconic, no cap πŸ‘‘πŸŒŸ

πŸ“¦ where this page comes from