The factor command prints the prime factors of a number. It is a small utility, but useful for quick number checks from the command line.
Examples
factor 12
factor 100
factor 1024The output shows the original number followed by its factors.
100: 2 2 5 5