Difference between revisions of "/dev/urandom"

From wikieduonline
Jump to navigation Jump to search
m (Welcome moved page Urandom to /dev/urandom)
Line 2: Line 2:
  
  
   head -10 [[/dev/]][[urandom]] | [[sha512sum]] | cut -b 1-30
+
   [[head]] -10 [[/dev/]][[urandom]] | [[sha512sum]] | cut -b 1-30
  
  

Revision as of 13:13, 8 October 2022

wikipedia:urandom


 head -10 /dev/urandom | sha512sum | cut -b 1-30


https://github.com/coreutils/coreutils/blob/master/NEWS

 shred, sort, shuf: now use an internal pseudorandom generator by default.
 This is mainly noticeable in shred where the 3 random passes it does by
 default should proceed at the speed of the disk.  Previously /dev/urandom
 was used if available, which is relatively slow on GNU/Linux systems.

See also

Advertising: