Files
linux.softwareshinobi.com/landing/docs/.recycle/.recycle2/012-the-factor-command.md
Software Shinobi 7d9171c854
All checks were successful
learn org at code.softwareshinobi.com/linux.softwareshinobi.com/pipeline/head This commit looks good
reworking content
2025-06-19 10:03:08 -04:00

569 B

The factor command

The factor command prints the prime factors of each specified integer NUMBER. If none are specified on the command line, it will read them from the standard input.

Syntax

$ factor [NUMBER]...

OR:

$ factor OPTION

Options

Option Description
--help Display this a help message and exit.
--version Output version information and exit.

Examples

  1. Print prime factors of a prime number.
$ factor 50
  1. Print prime factors of a non-prime number.
$ factor 75