mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-26 13:53:05 +00:00
Update cheatsheets
This commit is contained in:
25
linux/mcookie
Normal file
25
linux/mcookie
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# mcookie
|
||||
|
||||
> Generates random 128-bit hexadecimal numbers.
|
||||
> More information: <https://manned.org/mcookie>.
|
||||
|
||||
- Generate a random number:
|
||||
|
||||
`mcookie`
|
||||
|
||||
- Generate a random number, using the contents of a file as a seed for the randomness:
|
||||
|
||||
`mcookie --file {{path/to/file}}`
|
||||
|
||||
- Generate a random number, using a specific number of bytes from a file as a seed for the randomness:
|
||||
|
||||
`mcookie --file {{path/to/file}} --max-size {{number_of_bytes}}`
|
||||
|
||||
- Print the details of the randomness used, such as the origin and seed for each source:
|
||||
|
||||
`mcookie --verbose`
|
||||
Reference in New Issue
Block a user