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
- ubuntu stonking: rust-coreutils 0.12.0-1ubuntu2 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms