commands.sh

haveged

linux

Hardware-based random number generator.

More info →

Options (7)

-F, --Foregroundboolean

Run `haveged` in foreground

Example: sudo haveged {{[-F|--Foreground]}}
-f, --fileboolean

Set file path for output of `haveged`

Example: sudo haveged {{[-f|--file]}} {{path/to/file}}
-r, --runboolean

Set run level for daemon

Example: sudo haveged {{[-r|--run]}} {{runlevel}}
-b, --bufferboolean

Set collection buffer size in kibibyte words

Example: sudo haveged {{[-b|--buffer]}} {{buffersizeinKW}}
-c, --commandboolean

Insert a command to an already running `haveged` process or daemon

Example: sudo haveged {{[-c|--command]}} {{command}}
-d, --databoolean

Set cache size in kibibyte words

Example: sudo haveged {{[-d|--data]}} {{cachesizeinKW}}
-n, --numberboolean

Set number of bytes to write to the output file

Example: sudo haveged {{[-n|--number]}} {{byteamount}}

Examples (8)

Generate a random number

Run `haveged` in foreground

sudo haveged [-F|--Foreground]

Set file path for output of `haveged`

sudo haveged [-f|--file] path/to/file

Set run level for daemon

sudo haveged [-r|--run] runlevel

Set collection buffer size in kibibyte words

sudo haveged [-b|--buffer] buffersizeinKW

Insert a command to an already running `haveged` process or daemon

sudo haveged [-c|--command] command

Set cache size in kibibyte words

sudo haveged [-d|--data] cachesizeinKW

Set number of bytes to write to the output file

sudo haveged [-n|--number] byteamount
made by @shridhargupta | data from tldr-pages