mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-31 06:41:49 +00:00
18 lines
374 B
Plaintext
18 lines
374 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# factor
|
|
|
|
> Print the prime factorization of a number.
|
|
> More information: <https://www.gnu.org/software/coreutils/factor>.
|
|
|
|
- Display the prime-factorization of a number:
|
|
|
|
`factor {{number}}`
|
|
|
|
- Take the input from `stdin` if no argument is specified:
|
|
|
|
`echo {{number}} | factor`
|