pbmnoise

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

pbmnoise width height > path/to/output.pbm

pbmnoise width height -randomseed value > path/to/output.pbm

pbmnoise width height -ratio 1/3 > path/to/output.pbm