pgmnoise

Generate white noise. More information: https://netpbm.sourceforge.net/doc/pgmnoise.html.

pgmnoise width height > path/to/output.pgm

pgmnoise width height -randomseed value > path/to/output.pgm