random chars
For random.
Generate random chars uniformly distributed over ASCII letters and numbers: a-z, A-Z and 0-9.
Command Type
built-in
Signature
> random chars {flags}
Flags
--length, -l {oneof<int, filesize>}: Number of chars (default 25)
Input/output types:
| input | output |
|---|---|
| nothing | string |
Examples
Generate a string with 25 random chars.
> random chars
Generate random chars with specified length.
> random chars --length 20
Generate one kilobyte of random chars.
> random chars --length 1kb
Ported from nushell/nushell.github.io. Copyright (c) 2021 Nushell Project. MIT License.