Home Linux
 Bash Syntax

factor

Print prime factors

SYNTAX
     factor [number]...

     factor option

If no number is specified on the command line, `factor' reads numbers from standard input, delimited by newlines, tabs, or spaces.

Example:

factor 369

output:

369
3
3
41

"The new electronic interdependence re-creates the world in the image of a global village" - Marshall McLuhan

Related Linux Bash commands:

dc - Desk Calculator
expr - Evaluate expressions



Back to the Top

Simon Sheppard
SS64.com