Open In App

factor command in Linux with examples

The factor command in Linux is used to print the prime factors of the given numbers, either given from command line or read from standard input.

The numbers given through standard input may be delimited by tabs, spaces or newlines.



Syntax:

factor [NUMBER]
Article Tags :